Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jquery-mobilepassword

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-mobilepassword

This is a jQuery plugin that make your password input field like mobile client interaction. We can see the last letter.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

jquery.mobilePassword.js

####Description This is a jQuery plugin that make your password input field like mobile client interaction. We can see the last letter. 这个插件使密码输入框像移动客户端那样输入,可以明文显示最后一个字符。

支持粘贴密码,删除任何一个字符

enter image description here

  • require jQuery1.4+
  • support IE6+
How to use
$(document).ready(function() {
  $("input[type=password]").mobilePassword();
});

#####The following are the possible options:

$(document).ready(function() {
  $("input[type=password]").mobilePassword{
    checkInterval: 200, //set timeout to check whether all the characters are the same
    transDelay: 500,    //delay to transform last letter
    character: '%u25CF' //instead of the character
  };
});

Tip: Unicode for the symbol that will be displayed,You can find a good overview here: http://www.fileformat.info/format/w3c/entitytest.htm?sort=Unicode+Character

#####Licensed under the MIT and GPL licenses.

FAQs

Package last updated on 10 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc