diff --git a/Client/Frontend/UserContent/UserScripts/ReadyState.js b/Client/Frontend/UserContent/UserScripts/ReadyState.js index 26cb184a670..be61d5c276a 100644 --- a/Client/Frontend/UserContent/UserScripts/ReadyState.js +++ b/Client/Frontend/UserContent/UserScripts/ReadyState.js @@ -66,12 +66,8 @@ }; // Hide the pushState trampoline - History.prototype.pushState.toString = function() { - return "function () { [native code] }"; - }; + History.prototype.pushState.toString = pushState.toString; // Hide the replaceState trampoline - History.prototype.replaceState.toString = function() { - return "function () { [native code] }"; - }; + History.prototype.replaceState.toString = replaceState.toString; })();