Quellcode durchsuchen

added toString methos

Gildas vor 6 Jahren
Ursprung
Commit
201a6f83de
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      lib/hooks/content/content-hooks-web.js

+ 1 - 0
lib/hooks/content/content-hooks-web.js

@@ -35,5 +35,6 @@
 		dispatchEvent(new CustomEvent("single-file-push-state", { detail: { state, title, url } }));
 		pushState.call(history, state, title, url);
 	};
+	history.pushState.toString = function () { return "function pushState() { [native code]"; };
 
 })();