From dce06a7f47ad2201a5f78fc9c07074f2bd7de469 Mon Sep 17 00:00:00 2001 From: Evert Heylen Date: Tue, 28 May 2024 16:28:55 +0200 Subject: [PATCH] Update historyListener.js --- core_js/historyListener.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }