Fix TheAdvocate.com.au

This commit is contained in:
magnolia1234 2020-02-03 17:48:55 +01:00 committed by GitHub
parent 3941b8dc27
commit 3a05c8c87a
2 changed files with 3 additions and 1 deletions

View file

@ -144,6 +144,7 @@ var blockedRegexes = {
'sloanreview.mit.edu': /.+\.tinypass\.com\/.+/,
'spectator.co.uk': /.+\.tinypass\.com\/.+/,
'spectator.com.au': /.+\.tinypass\.com\/.+/,
'theadvocate.com.au': /.+cdn-au\.piano\.io\/api\/tinypass.+\.js/,
'thecourier.com.au': /.+cdn-au\.piano\.io\/api\/tinypass.+\.js/,
'thedailybeast.com': /.+\.tinypass\.com\/.+/,
'theglobeandmail.com': /theglobeandmail\.com\/pb\/resources\/scripts\/build\/chunk-bootstraps\/.+\.js/,

View file

@ -349,7 +349,8 @@ if (window.location.href.indexOf("theglobeandmail.com") !== -1) {
if (window.location.href.indexOf("newcastleherald.com.au") !== -1
|| window.location.href.indexOf("examiner.com.au") !== -1
|| window.location.href.indexOf("thecourier.com.au") !== -1) {
|| window.location.href.indexOf("thecourier.com.au") !== -1
|| window.location.href.indexOf("theadvocate.com.au") !== -1) {
const subscribe_truncate = document.querySelector('.subscribe-truncate');
if (subscribe_truncate)
subscribe_truncate.classList.remove('subscribe-truncate');