diff --git a/changelog.txt b/changelog.txt index 46c9dda..13f185e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -9,6 +9,7 @@ Fix Business Standard Fix Il Tirreno (GElocal.it) Fix Financial Times (amp) Fix La Croix (timing) +Fix The New Yorker (homepage) Fix Trouw.nl (timing) Update custom sites (block regex for default sites) diff --git a/contentScript.js b/contentScript.js index 6166af3..854bd82 100644 --- a/contentScript.js +++ b/contentScript.js @@ -2212,7 +2212,7 @@ else if (matchDomain('newrepublic.com')) { removeDOMElement(pw_opups); } -else if (matchDomain('newyorker.com')) { +else if (matchDomain('newyorker.com') && window.location.href.split('?')[0].match(/\.com\/.+\//) ) { let paywall_bar = document.querySelector('.paywall-bar'); removeDOMElement(paywall_bar); let invisible_assets = document.querySelectorAll('.responsive-asset--invisible');