Skip to content

Commit

Permalink
Update historyListener.js
Browse files Browse the repository at this point in the history
  • Loading branch information
evertheylen authored May 28, 2024
1 parent 92e43b7 commit dce06a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_js/historyListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit dce06a7

Please sign in to comment.