1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 12:50:36 +01:00

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 currentURL = new URL(currentTab.url);
const reloadButton = document.getElementById("reload"); const reloadButton = document.getElementById("reload");
reloadButton.addEventListener("click", async function(){ reloadButton.addEventListener("click", async function(){
await browser.tabs.reload(currentTab.id); await browser.tabs.reload(currentTab.id, {bypassCache: true});
window.close(); window.close();
}); });
const addonStatus = document.getElementById("addonStatus"); 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 - 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 - 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 - 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: known issues:
- if a data URL is blocked the page action button does not appear - if a data URL is blocked the page action button does not appear