Fix thesaturdaypaper.com.au

This commit is contained in:
Adam 2020-08-12 20:58:03 -07:00
parent 27de9ed853
commit 13c39f2a9d

View File

@ -352,6 +352,9 @@ if (matchDomain('elmercurio.com')) {
const url = window.location.href; const url = window.location.href;
if (url.includes('mode=sample') || stubArticleMsg) { window.location.href = new URL(url).pathname + '?mode=amp'; } if (url.includes('mode=sample') || stubArticleMsg) { window.location.href = new URL(url).pathname + '?mode=amp'; }
}); });
} else if (matchDomain('thesaturdaypaper.com.au')) {
const paywall = document.querySelector('div.paywall-hard-always-show');
removeDOMElement(paywall);
} }
function matchDomain (domains) { function matchDomain (domains) {