diff --git a/background.js b/background.js index 19f1452..b940c76 100644 --- a/background.js +++ b/background.js @@ -51,6 +51,7 @@ var allow_cookies = [ 'nationalreview.com', 'newrepublic.com', 'nytimes.com', +'nzz.ch', 'parool.nl', 'quora.com', 'scribd.com', @@ -112,6 +113,7 @@ var use_google_bot_default = [ 'intelligentinvestor.com.au', 'mexiconewsdaily.com', 'miamiherald.com', +'nzz.ch', 'quora.com', 'republic.ru', 'seekingalpha.com', diff --git a/contentScript.js b/contentScript.js index 3e2ac3f..1c0a9a5 100644 --- a/contentScript.js +++ b/contentScript.js @@ -623,12 +623,8 @@ else if (matchDomain('journaldunet.com')) { } else if (matchDomain('nzz.ch')) { - let messagebox = document.querySelector('.messagebox'); - removeDOMElement(messagebox); - let overlay = document.querySelector('.semi-disruptive-overlay__closebtn'); - if (overlay) { - overlay.click(); - } + let regwall = document.querySelector('.dynamic-regwall'); + removeDOMElement(regwall); } else if (matchDomain('lejdd.fr')) {