Skip to content

Instantly share code, notes, and snippets.

@pixxy
Created June 7, 2014 12:38
Show Gist options
  • Save pixxy/33540f4bdcb13a0992b4 to your computer and use it in GitHub Desktop.
Save pixxy/33540f4bdcb13a0992b4 to your computer and use it in GitHub Desktop.
eBay Paste Restorer
// ==UserScript==
// @name eBay Paste Restorer
// @description Undisable password pasting on eBay/PayPal password reset pages
// @version 0.3
// @license GPL
// @include https://fyp.ebay.tld/*
// @include https://www.paypal.com/*/cgi-bin/webscr*
// @grant none
// ==/UserScript==
var inputs = document.getElementsByTagName("input");
for (var i = 0; i < inputs.length; i++) {
var input = inputs[i];
input.oncopy = input.onpaste = input.ondrag = input.ondrop = null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment