pf / clnselect

// ==UserScript==
// @name         clnselect
// @namespace    usnspf
// @version      0.1.0.0
// @description  unblock context menu and selection !May broke functionality, just disable if so!
// @author       pf
// @match        http*://*/*
// @grant        none
// @homepage     https://pastebin.com/LAtyWpTT
// @copyright 2021, pf (https://pastebin.com/LAtyWpTT)
// @license MIT
// @updateURL https://openuserjs.org/meta/pf/clnselect.meta.js
// @downloadURL https://openuserjs.org/install/pf/clnselect.min.user.js
// ==/UserScript==

(function() {
    'use strict';

    window.addEventListener("select", function (event) {
        event.stopPropagation();
    }, true);

    window.addEventListener("contextmenu", function (event) {
        event.stopPropagation();
    }, true);

})();