SpyShop Bypass Select,Copy & Paste

Bypass Copy and Paste for spyshop.pl

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name        SpyShop Bypass Select,Copy & Paste
// @namespace   https://github.com/x3ric
// @match       https://www.spyshop.pl/blog/*
// @grant       none
// @version     1.1
// @author      x3ric
// @license     MIT
// @description Bypass Copy and Paste for spyshop.pl 
// ==/UserScript==

(function() {
    'use strict';
    // Overriding the specific script functionalities by resetting the event handlers
    document.onkeydown = null;
    document.onselectstart = null;
    document.onmousedown = null;
    document.onclick = null;
    // Reset CSS styles that prevent user interaction
    document.querySelectorAll('*').forEach(el => {
        el.style.userSelect = 'text';
        el.style.cursor = '';
    });
    // Remove event listeners that were added via the problematic script
    function removeAllEventListeners() {
        var newElement = document.createElement('div');
        newElement.innerHTML = document.body.innerHTML;
        document.body.innerHTML = newElement.innerHTML;
    }
    // Call this function to remove listeners on page load and navigation events
    window.onload = removeAllEventListeners;
    document.addEventListener('DOMContentLoaded', removeAllEventListeners);
    // Patch for the Safari touch call, if necessary
    document.addEventListener('touchstart', function(e) {
        e.stopPropagation();
    }, true);
    document.addEventListener('touchend', function(e) {
        e.stopPropagation();
    }, true);
})();