diff --git a/core_js/historyListener.js b/core_js/historyListener.js index 5248d1a..a4b717f 100644 --- a/core_js/historyListener.js +++ b/core_js/historyListener.js @@ -44,7 +44,7 @@ function historyCleaner(details) { if(urlBefore !== urlAfter) { browser.tabs.executeScript(details.tabId, { frameId: details.frameId, - code: 'history.replaceState({state: null},"",'+JSON.stringify(urlAfter)+');' + code: 'history.replaceState(null,"",'+JSON.stringify(urlAfter)+');' }).then(() => {}, onError); } }