Skip to content

Instantly share code, notes, and snippets.

@srghma
Created October 31, 2022 12:50
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 srghma/9487b6b4d91d2b26e33fdd23372b5c68 to your computer and use it in GitHub Desktop.
Save srghma/9487b6b4d91d2b26e33fdd23372b5c68 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name etimologias.dechile.net
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match http://etimologias.dechile.net/?huella
// @icon https://www.google.com/s2/favicons?sz=64&domain=dechile.net
// @grant GM_addStyle
// ==/UserScript==
(function() {
'use strict';
GM_addStyle(`body { -webkit-touch-callout: initial;
-webkit-user-select: initial;
-khtml-user-select: initial;
-moz-user-select: initial;
-ms-user-select: initial;
user-select: initial;
}`)
document.querySelector('body').oncontextmenu = null;
document.querySelector('body').ondragstart = null;
document.querySelector('body').onselectstart = null;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment