mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-06-13 12:57:39 +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')) {
|
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')) {
|
||||||
|
Reference in New Issue
Block a user