mirror of
https://github.com/ClearURLs/Addon.git
synced 2024-10-05 15:49:07 +03:00
Merge remote-tracking branch 'temp2/patch-2'
This commit is contained in:
commit
99b96bcfce
@ -44,7 +44,7 @@ function historyCleaner(details) {
|
|||||||
if(urlBefore !== urlAfter) {
|
if(urlBefore !== urlAfter) {
|
||||||
browser.tabs.executeScript(details.tabId, {
|
browser.tabs.executeScript(details.tabId, {
|
||||||
frameId: details.frameId,
|
frameId: details.frameId,
|
||||||
code: 'history.replaceState({state: null},"",'+JSON.stringify(urlAfter)+');'
|
code: 'history.replaceState(null,"",'+JSON.stringify(urlAfter)+');'
|
||||||
}).then(() => {}, onError);
|
}).then(() => {}, onError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user