Skip to content

Instantly share code, notes, and snippets.

@emmanuelrosa
Last active February 20, 2019 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emmanuelrosa/3fff2e304c6c46e21e06dcb5ace5c7ee to your computer and use it in GitHub Desktop.
Save emmanuelrosa/3fff2e304c6c46e21e06dcb5ace5c7ee to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Disable copy-paste blocking
// @version 1
// @grant none
// @description Removes the onpaste event handlers on the user name and password fields at https://ibanking.bangkokbank.com/SignOn.aspx, allowing user name and password to be copy-pasted in.
// @match https://ibanking.bangkokbank.com/SignOn.aspx
// ==/UserScript==
document.getElementById("txtID").removeAttribute("onpaste");
document.getElementById("txtPwd").removeAttribute("onpaste");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment