jQuery plugin to encourage strong user passwords

Overview

Naked Password

Simple jQuery plugin to improve security on passwords.

Usage

Naked password is extremely easy to use. All thats needed is for you to attach nakedPassword(); to one or all of your password fields.

$("input:password").nakedPassword();

Naked password comes with two default sets of images (male and female). They are set using either an m or a f in front of the image name. These can be switched using the 'sex' variable. It defaults to

$("input:password").nakedPassword({sex: "f"});

$("input:password").nakedPassword({sex: "m"});

Naked password assumes that the images are uploaded in a publicly accessible folder called “images/”. You can overwrite the images path as follows:

$("input:password").nakedPassword({path: "/new_image_path/"});

And thats it! Feel free to fork a copy and push any changes to us, and we'll gladly implement them.

Thanks

* michaelficarra
Comments
  • Bug fix: example didn't work

    Bug fix: example didn't work

    Hi mate,

    I fixed a small typo in the example folder ; it didn't work because the javascript filename hasn't been updated (version was 0.2.2 instead of 0.2.3).

    Please merge :)

    Cheers,

    Romaim

    opened by rbochet 5
  • Demo is not working

    Demo is not working

    I Tried the Demo in nakedpasssword.com in my Chrome (latest update) browser, and I don't see anything, apparently the problem is that the page can not get the nakedpassword.js.

    opened by gianu 2
  • Bump rack from 1.5.2 to 1.6.12 in /site

    Bump rack from 1.5.2 to 1.6.12 in /site

    Bumps rack from 1.5.2 to 1.6.12.

    Changelog

    Sourced from rack's changelog.

    [1.6.12] - 2019-12-08

    [2.0.7] - 2019-04-02

    Fixed

    • Remove calls to #eof? on Rack input in Multipart::Parser, as this breaks the specification. (@​matthewd)
    • Preserve forwarded IP addresses for trusted proxy chains. (@​SamSaffron)

    [2.0.6] - 2018-11-05

    Fixed

    [2.0.5] - 2018-04-23

    Fixed

    • Record errors originating from invalid UTF8 in MethodOverride middleware instead of breaking. (@​mclark)

    [2.0.4] - 2018-01-31

    Changed

    • Ensure the Lock middleware passes the original env object. (@​lugray)
    • Improve performance of Multipart::Parser when uploading large files. (@​tompng)
    • Increase buffer size in Multipart::Parser for better performance. (@​jkowens)
    • Reduce memory usage of Multipart::Parser when uploading large files. (@​tompng)
    • Replace ConcurrentRuby dependency with native Queue. (@​devmchakan)

    Fixed

    • Require the correct digest algorithm in the ETag middleware. (@​matthewd)

    Documentation

    [2.0.3] - 2017-05-15

    Changed

    Fixed

    ... (truncated)
    Commits
    • de902e4 Merge branch '1-6-sec' into 1-6-stable
    • b7d6546 Bump version
    • d3e2f88 making diff smaller
    • 99a8a87 fix memcache tests on 1.6
    • f2cb48e fix tests on 1.6
    • 7ff635c Introduce a new base class to avoid breaking when upgrading
    • 3232f93 Add a version prefix to the private id to make easier to migrate old values
    • 15da2e5 Fallback to the public id when reading the session in the pool adapter
    • 1a532d1 Also drop the session with the public id when destroying sessions
    • 9fe40c6 Fallback to the legacy id when the new id is not found
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Bump rack from 1.5.2 to 1.6.11 in /site

    Bump rack from 1.5.2 to 1.6.11 in /site

    Bumps rack from 1.5.2 to 1.6.11.

    Changelog

    Sourced from rack's changelog.

    Changelog

    All notable changes to this project will be documented in this file. For info on how to format all future additions to this file please reference Keep A Changelog

    [Unreleased]

    Added

    Changed

    • Rack::Utils.status_code now raises an error when the status symbol is invalid instead of 500.
    • Rack::Request::SCHEME_WHITELIST has been renamed to Rack::Request::ALLOWED_SCHEMES
    • Rack::Multipart::Parser.get_filename now accepts file that contains + in its name, avoiding the replacement of + to space character since filenames with + are valid.

    Removed

    History/News Archive

    Items below this line are from the previously maintained HISTORY.md and NEWS.md files.

    [2.0.0]

    • Rack::Session::Abstract::ID is deprecated. Please change to use Rack::Session::Abstract::Persisted

    [2.0.0.alpha] 2015-12-04

    • First-party "SameSite" cookies. Browsers omit SameSite cookies from third-party requests, closing the door on many CSRF attacks.
    • Pass same_site: true (or :strict) to enable: response.set_cookie 'foo', value: 'bar', same_site: true or same_site: :lax to use Lax enforcement: response.set_cookie 'foo', value: 'bar', same_site: :lax
    • Based on version 7 of the Same-site Cookies internet draft: https://tools.ietf.org/html/draft-west-first-party-cookies-07
    • Thanks to Ben Toews (@​mastahyeti) and Bob Long (@​bobjflong) for updating to drafts 5 and 7.
    • Add Rack::Events middleware for adding event based middleware: middleware that does not care about the response body, but only cares about doing work at particular points in the request / response lifecycle.
    • Add Rack::Request#authority to calculate the authority under which the response is being made (this will be handy for h2 pushes).
    • Add Rack::Response::Helpers#cache_control and cache_control=. Use this for setting cache control headers on your response objects.
    • Add Rack::Response::Helpers#etag and etag=. Use this for setting etag values on the response.
    • Introduce Rack::Response::Helpers#add_header to add a value to a multi-valued response header. Implemented in terms of other Response#*_header methods, so it's available to any response-like class that includes the Helpers module.
    • Add Rack::Request#add_header to match.
    • Rack::Session::Abstract::ID IS DEPRECATED. Please switch to Rack::Session::Abstract::Persisted. Rack::Session::Abstract::Persisted uses a request object rather than the env hash.
    • Pull ENV access inside the request object in to a module. This will help with legacy Request objects that are ENV based but don't want to inherit from Rack::Request
    • Move most methods on the Rack::Request to a module Rack::Request::Helpers and use public API to get values from the request object. This enables users to mix Rack::Request::Helpers in to their own objects so they can implement (get|set|fetch|each)_header as they see fit (for example a proxy object).
    • Files and directories with + in the name are served correctly. Rather than unescaping paths like a form, we unescape with a URI parser using Rack::Utils.unescape_path. Fixes #265
    • Tempfiles are automatically closed in the case that there were too many posted.
    • Added methods for manipulating response headers that don't assume they're stored as a Hash. Response-like classes may include the Rack::Response::Helpers module if they define these methods:
      • Rack::Response#has_header?
      • Rack::Response#get_header
      • Rack::Response#set_header
    ... (truncated)
    Commits
    • 2bef132 Bumping version for release
    • 97ca63d Whitelist http/https schemes
    • 7b5054e Merge pull request #1296 from tomelm/fix-prefers-plaintext
    • fdcd03a Bump version for release
    • 2293c6a Merge pull request #1249 from mclark/handle-invalid-method-parameters
    • b27dd86 handle failure to upcase invalid strings
    • 274d934 Stick with a passing version of Rubygems and bundler
    • 617aac0 bump version for release
    • dc017e7 Merge pull request #1237 from eileencodes/backport-1137
    • 4d6965a Backport pull request #1137 from unabridged/fix-eof-failure
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Bump rack from 1.5.2 to 2.1.4 in /site

    Bump rack from 1.5.2 to 2.1.4 in /site

    Bumps rack from 1.5.2 to 2.1.4.

    Changelog

    Sourced from rack's changelog.

    Changelog

    All notable changes to this project will be documented in this file. For info on how to format all future additions to this file please reference Keep A Changelog.

    [3.0.0] - Unreleased

    Changed

    • BREAKING CHANGE: Require status to be an Integer. (#1662, @olleolleolle)
    • Relax validations around Rack::Request#host and Rack::Request#hostname. (#1606, @pvande)
    • Removed antiquated handlers: FCGI, LSWS, SCGI, Thin. (#1658, @ioquatix)
    • Removed options from Rack::Builder.parse_file and Rack::Builder.load_file. (#1663, @ioquatix)

    Fixed

    • Fix using Rack::Session::Cookie with coder: Rack::Session::Cookie::Base64::{JSON,Zip}. (#1666, @jeremyevans)
    • Avoid NoMethodError when accessing Rack::Session::Cookie without requiring delegate first. (#1610, @onigra)
    • Handle cookies with values that end in '=' (#1645, @lukaso)

    [2.2.2] - 2020-02-11

    Fixed

    • Fix incorrect Rack::Request#host value. (#1591, @ioquatix)
    • Revert Rack::Handler::Thin implementation. (#1583, @jeremyevans)
    • Double assignment is still needed to prevent an "unused variable" warning. (#1589, @kamipo)
    • Fix to handle same_site option for session pool. (#1587, @kamipo)

    [2.2.1] - 2020-02-09

    Fixed

    • Rework Rack::Request#ip to handle empty forwarded_for. (#1577, @ioquatix)

    [2.2.0] - 2020-02-08

    SPEC Changes

    • rack.session request environment entry must respond to to_hash and return unfrozen Hash. (@jeremyevans)
    • Request environment cannot be frozen. (@jeremyevans)
    • CGI values in the request environment with non-ASCII characters must use ASCII-8BIT encoding. (@jeremyevans)
    • Improve SPEC/lint relating to SERVER_NAME, SERVER_PORT and HTTP_HOST. (#1561, @ioquatix)

    Added

    • rackup supports multiple -r options and will require all arguments. (@jeremyevans)
    • Server supports an array of paths to require for the :require option. (@khotta)
    • Files supports multipart range requests. (@fatkodima)
    • Multipart::UploadedFile supports an IO-like object instead of using the filesystem, using :filename and :io options. (@jeremyevans)
    • Multipart::UploadedFile supports keyword arguments :path, :content_type, and :binary in addition to positional arguments. (@jeremyevans)
    Commits
    • 5280870 bump version
    • a243510 When parsing cookies, only decode the values
    • e7ba1b0 fix directory listing
    • b9b8652 bump version
    • 775c836 adding a test for directory traversal
    • dddb7ad Use Dir.entries instead of Dir[glob] to prevent user-specified glob metachara...
    • 16a51d8 Bump for 2.1.2 release
    • 0a2c927 Update changelog in preparation for 2.1.2
    • b50bc8b Fix multipart parser for special files #1308
    • f9ef9a0 Fix use with kwargs
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • jQuery browser API depreached

    jQuery browser API depreached

    jQuery browser API is deprecated, you are using it for safari detection. Just tough you should know. Read more about it: http://api.jquery.com/jQuery.browser/

    opened by krizajb 1
  • Demo not working in Firefox

    Demo not working in Firefox

    Firebug errors

    $("input:password#test1").nakedPassword is not a function $("input:password#test1").nakedPassword({path: "np_images/"});

    opened by neilh 0
  • Out of bounds?

    Out of bounds?

    I'm using Nakedpassword on my gay dating site and though it is setup and working correctly, it appears to be having the opposite of the desired effect. Recommend patching to add additional set of images featuring Sally's brother, Harry.

    Thanks.

    opened by Homosexual 0
Owner
Platform45
Turning the world into a software world
Platform45
An inheritable and strong logic template front-end mvvm framework.

Intact 文档 Documents 简介 Intact作为一个可继承,并且拥有强逻辑模板的前端MVVM框架,有着如下特色: 充分利用组合与继承的思想,来最高限度地复用代码 同时支持数据驱动和组件实例化调用,来最便捷地实现功能 强逻辑模板,赋予模板更多功能和职责,来完成业务逻辑和表现逻辑分离 安装

Javey 55 Oct 21, 2022
A library to create pipelines with contexts and strong type checking.

TypePipe A library to create pipelines with contexts and strong type checking. Installation With Node.js and npm installed in your computer run: npm i

Alvaro Fresquet 16 Jun 11, 2022
Fix for Object.hasOwnProperty, which normally just returns a boolean, which is not good when you care about strong typing.

Welcome to ts-has-own-property ?? Fix for Object.hasOwnProperty, which normally just returns a boolean, which is not good when you care about strong t

Funtal Foundation 1 Jul 4, 2022
Fix for Object.keys, which normally just returns an array of strings, which is not good when you care about strong typing

Welcome to ts-object-keys ?? Fix for Object.keys, which normally just returns an array of strings, which is not good when you care about strong typing

Funtal Foundation 1 Jul 4, 2022
Contented is a Markdown-based authoring workflow that encourage developer authoring within its contextual Git repository.

Contented is a Markdown-based authoring workflow that encourage developer authoring within its contextual Git repository. npm i @birthdayresearch/cont

Birthday Research 42 Oct 31, 2022
Shikhar 4 Oct 9, 2022
A free & open source project to save your passwords, notes & credit cards

Free & open source project to save your passwords, notes & credit cards with a clean console UI with multiples features such as show information/create information/delete information

null 4 Aug 8, 2022
Fully undetected stealer (steals wallets, passwords, cookies, modifies discord client like piratestealer etc.)

doenerium (CURRENTLY NOT WORKING BECAUSE OF OBFUSCATION; fixing later) Fully undetected stealer (0/67) I obfuscated this to prevent my stuff being ski

doener 363 Nov 12, 2022
Generate Password is a generating random and unique passwords.

Generate Password Generate Password is a generating random and unique passwords. Install $ npm install @wcj/generate-password --save Usage import { ge

小弟调调™ 4 Jun 16, 2022
🏴‍☠️ steal saved browser passwords 🔐

Steal Password From Browser Steal Get username & password from Browser. (Now Only Windows) Install Download the windows installer(.msi) from release p

迷渡 21 Oct 28, 2022
Fully undetected grabber (grabs wallets, passwords, cookies, modifies discord client etc.)

⚔️ TurkoRat ??️ Telegram server: https://t.me/turcoflex Discord server: https://discord.gg/v6xwtcgrQ5 ?? 〢 Content ?? Setting up ⚔️ Features ?? Screen

turco 21 Nov 22, 2022
A Jquery plugin that allows user to enter multiple emails using one input field

multi-emails A Jquery plugin that allows user to enter multiple emails using one input field Usage $("...").multiEmails() Options color textColor font

null 1 Aug 26, 2022
A jquery plugin to determine when a user has stopped typing in a text field.

The official home for the TypeWatch jQuery plugin. TypeWatch calls a function when a user has typed text in an input, textarea and changes in div from

Denny Ferrassoli 221 Nov 3, 2022
An easy-to-use jQuery plugin that allows the user to pick an icon from a responsive icon browser and shows the corresponding icon class in an input element.

Font Awesome Browser An easy-to-use jQuery plugin that allows the user to pick an icon from a responsive icon browser and shows the corresponding icon

Gianluca Chiarani 1 May 1, 2021
JQuery charCounter - jQuery Character Counter Plugin

jQuery Character Counter A jQuery based character counter for <input> and <textarea> HTML tags. What is this? This simple plugin allows you to add a c

mmmm_lemon 1 Aug 10, 2022
jQuery quick notification plugin. jQuery плагин быстрых уведомлений

Note: English translation by Google Translate Notific About Description: this is a jQuery plugin that helps you display notifications on your site. Li

Webarion 2 Nov 7, 2021
A variety of jQuery plugin patterns for jump starting your plugin development

jQuery Plugin Patterns So, you've tried out jQuery Boilerplate or written a few of your own plugins before. They work to a degree and are readable, bu

jQuery Boilerplate 1.6k Nov 13, 2022
This is a simple Image popup Jquery plugin. With a very simple configuration, you can show a popup on your webpage. By the way, this plugin works after page load.

Jquery-SingleImagePopup This is a simple Image popup Jquery plugin. With a very simple configuration, you can show a popup on your webpage. By the way

Rajan Karmaker 1 Aug 22, 2022