diff --git a/ophirofox/content_scripts/lemonde.js b/ophirofox/content_scripts/lemonde.js index c415d80..bdcf3b8 100644 --- a/ophirofox/content_scripts/lemonde.js +++ b/ophirofox/content_scripts/lemonde.js @@ -1,9 +1,7 @@ -const BASE = 'https://nouveau-europresse-com.proxy.rubens.ens.fr' - function makeEuropresseUrl(lemondeUrl) { const m = lemondeUrl.pathname.match(/(\d{4})\/(\d{2})\/(\d{2})\/.*?(\d+_\d+).html/); if (!m) throw new Error("Format d'URL lemonde inconnu"); - const target_url = new URL("https://nouveau-europresse-com.proxy.rubens.ens.fr/Search/Reading"); + const target_url = new URL("https://nouveau.europresse.com/Search/Reading"); //target_url.searchParams.set("docKey", `news·${m[1]}${m[2]}${m[3]}·LMF·${m[4]}`); target_url.searchParams.set("ophirofox_source", window.location); //target_url.hash = "docText"; diff --git a/ophirofox/manifest.json b/ophirofox/manifest.json index 7d6a106..ecb507f 100644 --- a/ophirofox/manifest.json +++ b/ophirofox/manifest.json @@ -20,6 +20,7 @@ }, { "matches": [ + "https://nouveau.europresse.com/Search/Reading*", "https://nouveau-europresse-com.proxy.rubens.ens.fr/Search/Reading*" ], "js": [ @@ -28,6 +29,7 @@ }, { "matches": [ + "https://nouveau.europresse.com/Login*", "https://nouveau-europresse-com.proxy.rubens.ens.fr/Login*" ], "js": [ @@ -36,6 +38,7 @@ }, { "matches": [ + "https://nouveau.europresse.com/Search/ResultMobile*", "https://nouveau-europresse-com.proxy.rubens.ens.fr/Search/ResultMobile*" ], "css": [