mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-06-12 13:37:38 +02:00
Fixed The Toronto Star (#585)
This commit is contained in:
@ -145,12 +145,14 @@ if (matchDomain('nzherald.co.nz')) {
|
||||
}
|
||||
|
||||
if (matchDomain('thestar.com')) {
|
||||
const paywall = document.querySelector('.basic-paywall-new');
|
||||
removeDOMElement(paywall);
|
||||
const tbc = document.querySelectorAll('.text-block-container');
|
||||
for (let i = 0; i < tbc.length; i++) {
|
||||
tbc[i].removeAttribute('style');
|
||||
}
|
||||
setTimeout(function () {
|
||||
const paywall = document.querySelector('.basic-paywall-new');
|
||||
removeDOMElement(paywall);
|
||||
const tbc = document.querySelectorAll('.text-block-container');
|
||||
for (let i = 0; i < tbc.length; i++) {
|
||||
tbc[i].removeAttribute('style');
|
||||
}
|
||||
}, 1000); // Delay (in milliseconds)
|
||||
}
|
||||
|
||||
if (matchDomain('afr.com')) {
|
||||
|
Reference in New Issue
Block a user