From f339def9145346f8837b2ea7a8aac9383c43bc4d Mon Sep 17 00:00:00 2001 From: Brandon T Date: Thu, 31 Mar 2022 09:43:30 -0400 Subject: [PATCH] Addressed feedback. --- Client/Frontend/UserContent/UserScripts/ReadyState.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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; })();