How to paste your password into the sign-in form on does something terribly vexing – it disables (purposely) the ability to paste, copy, drag, and drop into the password box on their login form.  They claim it’s a security measure, but it impedes my ability to use KeePass to manage my passwords.  I got fed up with this, and decided to write a user script (Greasemonkey/Tampermonkey) to correct this idiotic behavior.

Just create a new userscript from the Greasemonkey or Tampermonkey menu, and paste the following:

// ==UserScript==
// @name sign-in password box paste/drag/drop/copy enabler
// @description Restores functionality that senselessly disables
// @namespace   D05C5EFF-C03F-48AE-8FCF-25D79DA7FB63
// @include*
// @version     1
// @grant       none
// ==/UserScript==

// grab the password box
var passwordBox = document.getElementById('ucLogin_txtPassword_txtPassword_TextBox');
if( !passwordBox ) {
    // if not found, show warning.
    alert('Password box not located.  Oops');
} else {
    // if found, undo's damage

Et voila!  No more typing in your (hopefully) secure, long password.

Update 2013-05-22: Minor fix to the @include so the script works when other variables are passed to the login form, e.g., returnUrl.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.