diff --git a/custom-injectors.js b/custom-injectors.js index c4523ed..25816d5 100644 --- a/custom-injectors.js +++ b/custom-injectors.js @@ -1,8 +1,11 @@ /// disablejump.js (function() { - document.scrollingElement.scrollIntoView(); + window.scroll(0, 0); HTMLElement.prototype.scrollIntoView = function() { console.debug("Tried to scroll"); }; + window.scoll = function() { + console.debug("Tried to scroll using absolute coords") + } console.debug("Jump disabled"); })();