Disable cache when reloading in the browser action

This commit is contained in:
kkapsner 2024-03-28 14:26:20 +01:00
parent 645d0ac550
commit a18e3ba37d
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@
const currentURL = new URL(currentTab.url);
const reloadButton = document.getElementById("reload");
reloadButton.addEventListener("click", async function(){
await browser.tabs.reload(currentTab.id);
await browser.tabs.reload(currentTab.id, {bypassCache: true});
window.close();
});
const addonStatus = document.getElementById("addonStatus");

View File

@ -12,6 +12,7 @@ Version 1.10:
- settings export page did not show whole content in Firefox for Android
- new tabs opened from within the extension did not open properly in Firefox for Android
- settings reset confirmation dialog was not properly visible in Firefox for Android
- reload after changing the whitelist state in the browser action has to be done without cache
known issues:
- if a data URL is blocked the page action button does not appear