Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Small JavaScript function to allow user using context menu or selecting text on some damn web pages.
(function () {
var d = document;
d.oncontextmenu = null;
d.ondragstart = null;
d.onselectstart = null; = '';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment