Fixed The Toronto Star (#585)

This commit is contained in:
avianna
2020-04-26 14:12:23 -04:00
committed by GitHub
parent c7d46a299a
commit 0adbdf085e

View File

@ -145,12 +145,14 @@ if (matchDomain('nzherald.co.nz')) {
} }
if (matchDomain('thestar.com')) { if (matchDomain('thestar.com')) {
const paywall = document.querySelector('.basic-paywall-new'); setTimeout(function () {
removeDOMElement(paywall); const paywall = document.querySelector('.basic-paywall-new');
const tbc = document.querySelectorAll('.text-block-container'); removeDOMElement(paywall);
for (let i = 0; i < tbc.length; i++) { const tbc = document.querySelectorAll('.text-block-container');
tbc[i].removeAttribute('style'); for (let i = 0; i < tbc.length; i++) {
} tbc[i].removeAttribute('style');
}
}, 1000); // Delay (in milliseconds)
} }
if (matchDomain('afr.com')) { if (matchDomain('afr.com')) {