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:
parent
645d0ac550
commit
a18e3ba37d
2 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue