Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As one example out of many, if you go to and click to manage your account, you can't paste your password in the password field. There is some javascript that prevents that. Is there a convenient way to disable that? It breaks normal browser behavior to not be able to paste, and additionally, it discourages the use of strong passwords (I use a password manager and copy & paste from it to the site).


share|improve this question
I am able to paste my password without any problems. The simple way to prevent something like this is to disable said javascript. I had no problem copying and pasting a password from LastPass. – Ramhound Mar 28 '12 at 18:19
Websites forcing javascript makes me a sad panda :( "To manage your Apple ID, your browser must support Javascript. If you're using Safari, confirm that Javascript is enable in the Security pane of Safari Preferences. " with noscript installed. Enabled scripts, can't paste password. – Rob Mar 28 '12 at 18:26
Note that Ctrl-V pastes into some fields even when the paste menu option is disabled. – Dan D. Mar 28 '12 at 20:38

I created a JavaScript bookmarklet that removes all onpaste events from password fields. I haven't extensively tested it just yet, but I know it works on as that's the reason I wrote it.


share|improve this answer
As a bookmarklet, it requires choosing that bookmarklet when on an offending site, right? Is it possible for this to be a browser extension that works everywhere? I saw your note on your post that you set this up for Mobile Safari as well. My guess is that a browser extension would work for Chrome on iOS as well. -Just some thoughts / the reason this doesn't solve it for me totally. – ezrock Aug 9 '12 at 18:15
Yes, it could. I've never written an extension and use multiple browsers so I didn't really have an interest in doing so. – Derek Aug 21 '12 at 17:55

bypass a website’s copy-paste restriction on Firefox:

type about:config in the URL. Find


and set it to "false". (Firefox won't allow anymore the websites to mess with your clipboard).

All the glory to digitwonk website

share|improve this answer

There is a Firefox add-on that certainly works for your example:

Not a perfect solution because you have to click the "right to click" icon first and then click and paste in the password box. But not bad.

share|improve this answer

The most bullet-proof way I can think of is to just temporarily disable JavaScript, then paste the password(s), then re-enable.

I had to do this with ebay just now, because even removing the onpaste attributes didn't help (and I didn't feel like spending any more time trying to uncover/bypass whatever other blocks they had in place).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.