mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-15 13:45:36 +07:00
Merge remote-tracking branch 'temp2/patch-2'
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user