Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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