From c514b67cd974c3d8fae39ee81c758e9219d994de Mon Sep 17 00:00:00 2001 From: wanhose Date: Sun, 11 Apr 2021 12:46:51 +0200 Subject: [PATCH] feat(scripts): disable cache if elements updated --- scripts/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/content.js b/scripts/content.js index 5523bfb..5a83b49 100644 --- a/scripts/content.js +++ b/scripts/content.js @@ -173,7 +173,7 @@ const removeFromNetwork = () => { const query = async () => { try { - const response = await fetch(url); + const response = await fetch(url, { cache: "no-cache" }); const data = await response.text(); if (response.status !== 200) throw new Error();