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