diff --git a/changelog.txt b/changelog.txt index 8c89bc7..377c12c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Chrome Post-release +Fix Repubblica sites (no amp) * v2.4.6.0 (2021-12-05) Add Artnet diff --git a/contentScript.js b/contentScript.js index 0b1ce01..24c6696 100755 --- a/contentScript.js +++ b/contentScript.js @@ -1128,8 +1128,6 @@ else if (domain = matchDomain(it_repubblica_domains)) { removeDOMElement(premium); if (!url.includes('/podcast/')) { let amphtml = document.querySelector('link[rel="amphtml"]'); - if (!amphtml) - amphtml = {href: (url.split('?')[0] + '/amp').replace('//amp', '/amp')}; if (amphtml) window.location.href = amphtml.href; }