diff --git a/changelog.txt b/changelog.txt index 89607cd1..7bf41c6d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Fix Inc42 +Fix LesEchos.fr (investir) * v3.0.0.0 (2023-01-08) Add Deutscher Fachverlag Mediengruppe (opt-in to custom sites) diff --git a/contentScript.js b/contentScript.js index eeca1ea5..b9367590 100644 --- a/contentScript.js +++ b/contentScript.js @@ -1532,19 +1532,7 @@ else if (matchDomain('lequipe.fr')) { } else if (matchDomain('lesechos.fr')) { - if (matchDomain('investir.lesechos.fr')) { - if (!window.location.href.includes('/amp/')) { - let paywall = document.querySelector('div.bloc-paywall'); - let amphtml = document.querySelector('link[rel="amphtml"]'); - if (paywall && amphtml) { - removeDOMElement(paywall); - window.location.href = amphtml.href; - } - } else { - let amp_ads = document.querySelectorAll('amp-ad'); - removeDOMElement(...amp_ads); - } - } else if (window.location.pathname.startsWith('/amp/')) { + if (window.location.pathname.startsWith('/amp/')) { ampToHtml(); } else { window.setTimeout(function () { diff --git a/manifest.json b/manifest.json index 1532c514..0c22ac60 100644 --- a/manifest.json +++ b/manifest.json @@ -720,5 +720,5 @@ "*://*.wallkit.net/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.0.0.0" + "version": "3.0.0.1" }