From d4f92f3a5a34a36aad8262639ea8afd0e0c6f556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Est=C3=A9ban=20DESESSARD?= Date: Mon, 30 Mar 2026 10:41:34 +0200 Subject: [PATCH] :sparkles: Acceptation de l'analyse en localhost --- plugin/chrome/background.js | 3 --- plugin/firefox/src/background.js | 3 --- 2 files changed, 6 deletions(-) diff --git a/plugin/chrome/background.js b/plugin/chrome/background.js index a3cbf05..c8b02f7 100644 --- a/plugin/chrome/background.js +++ b/plugin/chrome/background.js @@ -53,9 +53,6 @@ function isLocalDomain(url) { try { const hostname = new URL(url).hostname; return ( - hostname === "localhost" || - hostname === "127.0.0.1" || - hostname === "[::1]" || hostname === "greenscore.alwaysdata.net" ); } catch (error) { diff --git a/plugin/firefox/src/background.js b/plugin/firefox/src/background.js index 915289f..6a4bb8e 100644 --- a/plugin/firefox/src/background.js +++ b/plugin/firefox/src/background.js @@ -51,9 +51,6 @@ function isLocalDomain(url) { try { const hostname = new URL(url).hostname; return ( - hostname === "localhost" || - hostname === "127.0.0.1" || - hostname === "[::1]" || hostname === "greenscore.alwaysdata.net" ); } catch (error) {