// ==UserScript== // @name Scenexe.io Vision Tools by Ashy [tools transferred to debug mode] // @namespace http://tampermonkey.net/ // @version 1.0.7 // @description Special Vision Tool. Better than others...:) [use debug mode to emble tool](press "M") // @description use mouse wheel to zoom + no dark in cross! +anty annoying asking about adblock // @author Ashy恨你#3219 // @match https://scenexe.io/ // @match https://new-test.scenexe.io/ // @icon https://www.google.com/s2/favicons?sz=64&domain=scenexe.io // @grant none // @license MIT // @downloadURL none // ==/UserScript== "use strict"; usingAdBlocker = false; document.getElementById("debug-mode").insertAdjacentHTML("beforeend", '

Zoom: 1

' + '

Darkness: ' ); var z = document.getElementById("zoom"); var zoom = 1; function change_scs(s_size) { if (zoom < 1) { zoom = 1; } z.textContent = "Zoom: " + zoom.toFixed(2); Object.defineProperty(Object.prototype, "cameraSizeMultiplier", { configurable: true, get: () => s_size, set: () => { } }); } document.addEventListener("wheel", (e) =>{ if(e.deltaY > 0){ zoom += 0.3; }else{ zoom -= 0.3; } change_scs(zoom); }); const c = document.getElementById('dark'); const fu = document.querySelector("#darkness-canvas"); (function(){ c.checked = true; fu.setAttribute("style", "z-index: -20;"); })(); function _0x38cf2f(){ if(c.checked == !false){ fu.setAttribute("style", "z-index: -20;"); }else{ fu.setAttribute("style", "z-index: -2;"); } } c.addEventListener("click", _0x38cf2f);