1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02: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 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");