Skip to content

Instantly share code, notes, and snippets.

@sburlot
Created April 1, 2013 20:50
Show Gist options
  • Save sburlot/5287657 to your computer and use it in GitHub Desktop.
Save sburlot/5287657 to your computer and use it in GitHub Desktop.
Allow paste when it's disabled by a web page (iTunesConnect, I'm looking at you)
javascript:(function()%7Bvar%20inputs=document.getElementsByTagName('input');for(var%20i=0;i%3Cinputs.length;i++)%7Bif(inputs%5Bi%5D.getAttribute('type').toLowerCase()==='password')%7Binputs%5Bi%5D.setAttribute('onpaste','');%7D%7D%7D)();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment