Skip to content

Instantly share code, notes, and snippets.

@Hemant-Mann
Created June 24, 2021 10:33
Show Gist options
  • Save Hemant-Mann/4c837d9503c39fb3c28a35b3cf8be4f7 to your computer and use it in GitHub Desktop.
Save Hemant-Mann/4c837d9503c39fb3c28a35b3cf8be4f7 to your computer and use it in GitHub Desktop.
Add copy paste functionality on bank websites 😁
var allowPaste = function(e){
e.stopImmediatePropagation();
return true;
};
document.addEventListener('paste', allowPaste, true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment