From d6ab8d59e00775d9696a616b5082eaf2961c0b39 Mon Sep 17 00:00:00 2001 From: Quentin Rouiller Date: Tue, 21 Apr 2026 16:04:00 +0200 Subject: [PATCH] =?UTF-8?q?v5.0.13=20=E2=80=94=20Cache=20+=20retry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- background.js | 16 +++++++++------- manifest.json | 2 +- viewer.js | 27 ++++++++++++++++++++++++++- 3 files changed, 36 insertions(+), 9 deletions(-) diff --git a/background.js b/background.js index 141d970..5a0d0e2 100644 --- a/background.js +++ b/background.js @@ -684,7 +684,11 @@ async function deletePlanningItem(origin, phpsessid, actionId, kind) { console.log(`[bg] deletePlanningItem → tente function_name=${fn}`, url.substring(0, 180)); try { - const r = await fetch(url, { method: "GET", credentials: "include" }); + // v5.0.13 : utiliser evFetch() au lieu de fetch() brut pour que les + // headers Referer + X-Requested-With soient envoyés — sinon EV renvoie + // un