Skip to content

Instantly share code, notes, and snippets.

@teocci
Created March 4, 2025 05:16
Show Gist options
  • Save teocci/a25d04b2900bdd0217c392bff08634ba to your computer and use it in GitHub Desktop.
Save teocci/a25d04b2900bdd0217c392bff08634ba to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name W2MUnlocker
// @namespace http://tampermonkey.net/
// @version 2025-03-04
// @description Prevents execution of the _0x39426c function on watch2movies.net
// @author Teocci
// @match *://*.watch2movies.net/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=watch2movies.net
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
// Override _0x39426c before any page script can define it
Object.defineProperty(window, "_0x39426c", {
value: function() {
console.log("Blocked _0x39426c execution");
},
writable: false,
configurable: false
});
// Optional: Test the override (remove if not needed)
// window._0x39426c(false);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment