Gildas 6 лет назад
Родитель
Сommit
201a6f83de
1 измененных файлов с 1 добавлено и 0 удалено
  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]"; };
 
 })();