diff --git a/background.js b/background.js index 139dd60..895467f 100644 --- a/background.js +++ b/background.js @@ -62,6 +62,7 @@ var allow_cookies = [ 'the-american-interest.com', 'theathletic.co.uk', 'theathletic.com', +'thehindu.com', 'themarker.com', 'trouw.nl', 'volkskrant.nl', diff --git a/contentScript.js b/contentScript.js index f4a44e3..881d683 100644 --- a/contentScript.js +++ b/contentScript.js @@ -227,9 +227,10 @@ else if (matchDomain('ft.com')) { else if (matchDomain("thehindu.com")) { document.addEventListener('DOMContentLoaded', () => { + let counter = document.querySelector('#test'); let co_banner = document.querySelector('.co-banner'); let support = document.querySelector('div.support-jlm'); - removeDOMElement(co_banner, support); + removeDOMElement(counter, co_banner, support); }); }