Merge remote-tracking branch 'temp2/patch-2'

This commit is contained in:
Kevin R 2024-05-29 17:13:22 +02:00
commit 99b96bcfce
No known key found for this signature in database
GPG Key ID: A4AD5E0732960C98

View File

@ -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);
} }
} }