From 77c68dbe83cb5dedbf3b1da85a54003842fa6e7e Mon Sep 17 00:00:00 2001 From: Quentin Rouiller Date: Tue, 21 Apr 2026 12:50:36 +0200 Subject: [PATCH] =?UTF-8?q?v5.0.7=20=E2=80=94=20Correctifs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- background.js | 6 ++++++ manifest.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 77dfafe..73f904f 100644 --- a/background.js +++ b/background.js @@ -140,6 +140,12 @@ async function fetchFicheHtml(origin, phpsessid, formLink) { } const html = await r.text(); console.log("[bg] fiche status =", r.status, "| taille =", html.length); + // v5.0.7 : si la réponse est anormalement petite (< 500 octets), c'est + // probablement une redirection ou une réponse d'erreur courte — on logge + // le contenu pour diagnostiquer. + if (html.length < 500) { + console.warn("[bg] ⚠ fiche très courte, contenu =", JSON.stringify(html)); + } return html; } diff --git a/manifest.json b/manifest.json index ea28f3d..ed617e6 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Planification", - "version": "5.0.6", + "version": "5.0.7", "description": "Vue claire et rapide du planning des techniciens EasyVista. Regroupe interventions et réservations par tech, affiche horaires, contact, lieu, catégorie et statut en un coup d'œil.", "permissions": ["activeTab", "scripting", "storage", "tabs", "alarms"], "host_permissions": [