Skip to content

Instantly share code, notes, and snippets.

@wyfinger
Created October 2, 2020 04:59
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 wyfinger/63e4576c28a519af2787c277350c51b8 to your computer and use it in GitHub Desktop.
Save wyfinger/63e4576c28a519af2787c277350c51b8 to your computer and use it in GitHub Desktop.
User script for disable some fucking events
// ==UserScript==
// @name die fuckers
// @namespace http://tampermonkey.net/
// @version 0.1
// @description disable some fucking events
// @author wyfinger
// @match *://*/*
// @run-at document-end
// @grant none
// ==/UserScript==
(function(document) {
'use strict';
document.oncopy = null;
document.ondragstart = null;
document.onselectstart = null;
document.oncontextmenu = null;
document.onkeydown = null;
})(document);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment