mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-04-29 19:54:28 +02:00
Remove fortune.com paywall (#1252)
* update UA for haaretz, themarker * remove paywall for fortune.com
This commit is contained in:
parent
997f83c778
commit
5bb7dc1665
@ -713,6 +713,13 @@ if (matchDomain('elmercurio.com')) {
|
||||
const ads = document.querySelectorAll('amp-ad, div.ad-banner, div.advert-fly-carpet-container, div.inline-advert');
|
||||
removeDOMElement(...defaultMeters, ...ads);
|
||||
}
|
||||
} else if (matchDomain('fortune.com')) {
|
||||
const paywalledArticle = document.querySelector('.paywall.paywallActive');
|
||||
if (paywalledArticle) {
|
||||
for (const clazz of ['paywall', 'paywallActive']) {
|
||||
paywalledArticle.classList.remove(clazz);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function matchDomain (domains) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user