Fix LesEchos.fr (regwall)

This commit is contained in:
magnolia1234 2024-04-07 10:39:17 +02:00
parent db90158966
commit 11097c93fe
3 changed files with 183 additions and 181 deletions

View file

@ -11,6 +11,7 @@ Add Nordwest Zeitung
Add Spektrum.de Add Spektrum.de
Fix Exame Fix Exame
Fix LeMonde.fr (view more) Fix LeMonde.fr (view more)
Fix LesEchos.fr (regwall)
Fix MediaNews Group (ld_json_url) Fix MediaNews Group (ld_json_url)
Fix Nzz.ch (css) Fix Nzz.ch (css)
Fix Reuters (videos) Fix Reuters (videos)

View file

@ -384,8 +384,8 @@ if (matchDomain('medium.com') || matchDomain(medium_custom_domains) || (!matchDo
else if (window.location.hostname.match(/\.(com|net)\.au$/)) {//australia else if (window.location.hostname.match(/\.(com|net)\.au$/)) {//australia
if (matchDomain('crikey.com.au')) { if (matchDomain('crikey.com.au')) {
let ads = document.querySelectorAll('.advert'); let ads = '.advert';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('forbes.com.au')) { else if (matchDomain('forbes.com.au')) {
@ -457,14 +457,14 @@ else {
for (let subscriber_hider of subscriber_hiders) for (let subscriber_hider of subscriber_hiders)
subscriber_hider.classList.remove('subscriber-hider'); subscriber_hider.classList.remove('subscriber-hider');
} }
let blocker = document.querySelector('div.blocker');
let overlays = document.querySelectorAll('div.transition-all, div[id^="headlessui-dialog"]');
let noscroll = document.querySelectorAll('html[style], body[style]'); let noscroll = document.querySelectorAll('html[style], body[style]');
for (let elem of noscroll) for (let elem of noscroll)
elem.removeAttribute('style'); elem.removeAttribute('style');
let story_generic_iframe = document.querySelector('.story-generic__iframe'); let story_generic_iframe = '.story-generic__iframe';
let ads = document.querySelectorAll('.ad-placeholder, .sticky, [id*="-container"], #hindsight-ads-iframe'); let blocker = 'div.blocker';
hideDOMElement(story_generic_iframe, blocker, ...overlays, ...ads); let overlays = 'div.transition-all, div[id^="headlessui-dialog"]';
let ads = '.ad-placeholder, .sticky, [id*="-container"], #hindsight-ads-iframe';
hideDOMStyle(story_generic_iframe + ', ' + blocker + ', ' + overlays + ', ' + ads);
} else if (window.location.hostname.endsWith('.com.au')) { } else if (window.location.hostname.endsWith('.com.au')) {
// Australia News Corp // Australia News Corp
let au_news_corp_domains = ['adelaidenow.com.au', 'cairnspost.com.au', 'codesports.com.au', 'couriermail.com.au', 'dailytelegraph.com.au', 'geelongadvertiser.com.au', 'goldcoastbulletin.com.au', 'heraldsun.com.au', 'ntnews.com.au', 'theaustralian.com.au', 'thechronicle.com.au', 'themercury.com.au', 'townsvillebulletin.com.au', 'weeklytimesnow.com.au']; let au_news_corp_domains = ['adelaidenow.com.au', 'cairnspost.com.au', 'codesports.com.au', 'couriermail.com.au', 'dailytelegraph.com.au', 'geelongadvertiser.com.au', 'goldcoastbulletin.com.au', 'heraldsun.com.au', 'ntnews.com.au', 'theaustralian.com.au', 'thechronicle.com.au', 'themercury.com.au', 'townsvillebulletin.com.au', 'weeklytimesnow.com.au'];
@ -479,8 +479,8 @@ else {
} else { } else {
if (window.location.pathname.includes('/video/') && document.querySelector('div.vms-premium-video')) if (window.location.pathname.includes('/video/') && document.querySelector('div.vms-premium-video'))
header_nofix(document.querySelector('div.video-hub')); header_nofix(document.querySelector('div.video-hub'));
let ads = document.querySelectorAll('.header_ads-container, .ad-block'); let ads = '.header_ads-container, .ad-block';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
} else { } else {
// Australian Seven West Media // Australian Seven West Media
@ -616,8 +616,8 @@ else {
csDoneOnce = true; csDoneOnce = true;
waitDOMElement(paywall_sel, 'DIV', thewest_main, true); waitDOMElement(paywall_sel, 'DIV', thewest_main, true);
} }
let header_advert = document.querySelector('div.headerAdvertisement'); let ads = 'div.headerAdvertisement';
hideDOMElement(header_advert); hideDOMStyle(ads);
} else if (document.querySelector('head > link[rel="dns-prefetch"][href="//static.ew.mmg.navigacloud.com"]')) { // McPherson Media Group } else if (document.querySelector('head > link[rel="dns-prefetch"][href="//static.ew.mmg.navigacloud.com"]')) { // McPherson Media Group
let paywall = document.querySelector('div#content-Load-message'); let paywall = document.querySelector('div#content-Load-message');
if (paywall) { if (paywall) {
@ -1391,9 +1391,17 @@ else if (matchDomain('tt.com')) {
} }
} else if (par.type.match(/^x-im\//)) { } else if (par.type.match(/^x-im\//)) {
if (par.url) { if (par.url) {
elem = document.createElement('a'); if (par.url.startsWith('https://twitter.com/')) {
elem.href = elem.innerText = par.url; elem = document.createElement('p');
elem.target = '_blank'; let sub_elem = document.createElement('a');
sub_elem.href = elem.innerText = par.url;
sub_elem.target = '_blank';
elem.appendChild(sub_elem);
} else {
elem = document.createElement('iframe');
elem.src = par.url;
elem.style = 'height: ' + article.offsetWidth + 'px; width: ' + article.offsetWidth + 'px;';
}
} }
} }
if (elem) if (elem)
@ -1553,8 +1561,8 @@ else if (matchDomain('ruhrnachrichten.de') || document.querySelector('a.mgw-logo
} }
else if (matchDomain(de_vrm_domains) || matchDomain(de_vrm_custom_domains)) { else if (matchDomain(de_vrm_domains) || matchDomain(de_vrm_custom_domains)) {
let ads = document.querySelectorAll('div.adSlot, div.loadingBanner'); let ads = 'div.adSlot, div.loadingBanner';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain(ch_media_domains) || document.querySelector('head > link[href*="/assets.static-chmedia.ch/"]')) { else if (matchDomain(ch_media_domains) || document.querySelector('head > link[href*="/assets.static-chmedia.ch/"]')) {
@ -2180,7 +2188,7 @@ else if (matchDomain('lesechos.fr')) {
ampToHtml(); ampToHtml();
} else { } else {
window.setTimeout(function () { window.setTimeout(function () {
let paywall = document.querySelector('div#paywall'); let paywall = document.querySelector('div#paywall, div#registerWall');
if (paywall && dompurify_loaded) { if (paywall && dompurify_loaded) {
removeDOMElement(paywall); removeDOMElement(paywall);
let scripts = document.querySelectorAll('script:not([src]):not([type])'); let scripts = document.querySelectorAll('script:not([src]):not([type])');
@ -2501,8 +2509,8 @@ else if (matchDomain('ilsole24ore.com')) {
removeDOMElement(paywall); removeDOMElement(paywall);
header_nofix(document.querySelector('div.paywalltext')); header_nofix(document.querySelector('div.paywalltext'));
} }
let ads = document.querySelectorAll('div.background-adv, div.abox, div.ob-smartfeed-wrapper'); let ads = 'div.background-adv, div.abox, div.ob-smartfeed-wrapper';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain(['iltirreno.it', 'lanuovasardegna.it']) || matchDomain(['gazzettadimodena.it', 'gazzettadireggio.it', 'lanuovaferrara.it'])) { else if (matchDomain(['iltirreno.it', 'lanuovasardegna.it']) || matchDomain(['gazzettadimodena.it', 'gazzettadireggio.it', 'lanuovaferrara.it'])) {
@ -3036,8 +3044,8 @@ else if (matchDomain(['belfasttelegraph.co.uk', 'independent.ie'])) {
} }
} }
} }
let ads = document.querySelectorAll('div[id^="ad_article"]'); let ads = 'div[id^="ad_article"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('businesspost.ie')) { else if (matchDomain('businesspost.ie')) {
@ -3107,13 +3115,13 @@ else if (matchDomain('ft.com')) {
removeDOMElement(paywall); removeDOMElement(paywall);
refreshCurrentTab(); refreshCurrentTab();
} }
let banners = document.querySelectorAll('.o-cookie-message, .js-article-ribbon, .o-ads, .o-banner'); let banners = '.o-cookie-message, .js-article-ribbon, .o-ads, .o-banner';
hideDOMElement(...banners); hideDOMStyle(banners);
} }
else if (matchDomain('gbnews.com')) { else if (matchDomain('gbnews.com')) {
let ads = document.querySelectorAll('div.ad--billboard, div.ad--placeholder'); let ads = 'div.ad--billboard, div.ad--placeholder';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('granta.com')) { else if (matchDomain('granta.com')) {
@ -3131,8 +3139,8 @@ else if (matchDomain('independent.co.uk')) {
} }
let url = window.location.href; let url = window.location.href;
if (window.location.search.match(/(\?|&)amp/)) { if (window.location.search.match(/(\?|&)amp/)) {
let ads = document.querySelectorAll('amp-ad, amp-embed, [id^="ad-"]'); let ads = 'amp-ad, amp-embed, [id^="ad-"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} else { } else {
let related = document.querySelector('div.related'); let related = document.querySelector('div.related');
if (!related) { if (!related) {
@ -3149,15 +3157,13 @@ else if (matchDomain('literaryreview.co.uk')) {
else if (matchDomain('prospectmagazine.co.uk')) { else if (matchDomain('prospectmagazine.co.uk')) {
let url = window.location.href; let url = window.location.href;
getGoogleWebcache(url, 'div.paywall_overlay_blend, div.paywall', '', 'main'); getGoogleWebcache(url, 'div.paywall_overlay_blend, div.paywall', '', 'main');
window.setTimeout(function () { let ads = '.ad-banner, .advert';
let ads = document.querySelectorAll('.ad-banner, .advert'); hideDOMStyle(ads);
hideDOMElement(...ads);
}, 1000);
} }
else if (matchDomain('spectator.co.uk')) { else if (matchDomain('spectator.co.uk')) {
let banners = document.querySelectorAll('#subscribe-ribbon, div.ad-slot'); let ads = '#subscribe-ribbon, div.ad-slot';
hideDOMElement(...banners); hideDOMStyle(ads);
} }
else if (matchDomain('stylist.co.uk')) { else if (matchDomain('stylist.co.uk')) {
@ -3284,13 +3290,13 @@ else if (matchDomain('telegraph.co.uk')) {
removeDOMElement(...paywall, truncated_content); removeDOMElement(...paywall, truncated_content);
amp_unhide_access_hide('="c.result=\'ALLOW_ACCESS\'"', '', 'amp-ad, amp-embed', false); amp_unhide_access_hide('="c.result=\'ALLOW_ACCESS\'"', '', 'amp-ad, amp-embed', false);
} else { } else {
let amp_ads = document.querySelectorAll('amp-ad, amp-embed'); let ads = 'amp-ad, amp-embed';
hideDOMElement(...amp_ads); hideDOMStyle(ads);
} }
} else { } else {
let subwall = document.querySelectorAll('[class^="subwall"]'); let subwall = '[class^="subwall"]';
let ads = document.querySelectorAll('.advert, .commercial-unit'); let ads = '.advert, .commercial-unit';
hideDOMElement(...subwall, ...ads); hideDOMStyle(subwall + ', ' + ads);
} }
} }
@ -3309,9 +3315,9 @@ else if (matchDomain('tes.com')) {
else if (matchDomain('the-tls.co.uk')) { else if (matchDomain('the-tls.co.uk')) {
if (dompurify_loaded) if (dompurify_loaded)
getJsonUrl('div.tls-single-article__closed-paywall', '', 'div.tls-article-body', {art_class: 'tls-article-body'}); getJsonUrl('div.tls-single-article__closed-paywall', '', 'div.tls-article-body', {art_class: 'tls-article-body'});
let fade = document.querySelector('div.tls-single-article__closed-paywall-wrapper'); let fade = 'div.tls-single-article__closed-paywall-wrapper';
let ads = document.querySelectorAll('div[class*="tls-single-article__ad-slot"]'); let ads = 'div[class*="tls-single-article__ad-slot"]';
hideDOMElement(fade, ...ads); hideDOMStyle(fade + ', ' + ads);
} }
else if (matchDomain('theneweuropean.co.uk')) { else if (matchDomain('theneweuropean.co.uk')) {
@ -3363,8 +3369,8 @@ else if (matchDomain('thetimes.co.uk')) {
let paywall_page = document.querySelector('div#paywall-portal-page-footer'); let paywall_page = document.querySelector('div#paywall-portal-page-footer');
let block = document.querySelector('.subscription-block'); let block = document.querySelector('.subscription-block');
removeDOMElement(paywall_page, block); removeDOMElement(paywall_page, block);
let ads = document.querySelectorAll('#ad-article-inline, div#sticky-ad-header, div[class*="InlineAdWrapper"], div[class*="NativeAd"], div.gyLkkj'); let ads = '#ad-article-inline, div#sticky-ad-header, div[class*="InlineAdWrapper"], div[class*="NativeAd"], div.gyLkkj';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
} }
@ -3391,8 +3397,8 @@ else if (matchDomain(uk_nat_world_domains) || document.querySelector('footer > d
}); });
amp_image.parentNode.replaceChild(elem, amp_image); amp_image.parentNode.replaceChild(elem, amp_image);
} }
let ads = document.querySelectorAll('div[class^="MarkupAds__Container-"], div[class*="_AdContainer-"], div[class^="Dailymotion__Wrapper-"]'); let ads = 'div[class^="MarkupAds__Container-"], div[class*="_AdContainer-"], div[class^="Dailymotion__Wrapper-"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else else
@ -3470,8 +3476,8 @@ else if (matchDomain('cartacapital.com.br')) {
} }
else if (matchDomain('crusoe.com.br')) { else if (matchDomain('crusoe.com.br')) {
let ads = document.querySelectorAll('#gpt-leaderboard, .ads_desktop, .catchment-box'); let ads = '#gpt-leaderboard, .ads_desktop, .catchment-box';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain(pe_grupo_elcomercio_domains)) { else if (matchDomain(pe_grupo_elcomercio_domains)) {
@ -3693,8 +3699,8 @@ else
if (matchDomain(usa_adv_local_domains)) { if (matchDomain(usa_adv_local_domains)) {
if (window.location.search.startsWith('?outputType=amp')) { if (window.location.search.startsWith('?outputType=amp')) {
let ads = document.querySelectorAll('amp-embed'); let ads = 'amp-embed';
hideDOMElement(...ads); hideDOMStyel(ads);
} else { } else {
let paywall_sel = 'div.paywall'; let paywall_sel = 'div.paywall';
let paywall = document.querySelector(paywall_sel); let paywall = document.querySelector(paywall_sel);
@ -3748,8 +3754,6 @@ if (matchDomain(usa_adv_local_domains)) {
} else } else
amp_redirect(paywall_sel, '', window.location.pathname + '?outputType=amp'); amp_redirect(paywall_sel, '', window.location.pathname + '?outputType=amp');
} }
let ads = document.querySelectorAll('div.ad');
hideDOMElement(...ads);
} }
} }
@ -3788,12 +3792,12 @@ else if (matchDomain('asia.nikkei.com')) {
else if (matchDomain('axios.com')) { else if (matchDomain('axios.com')) {
function axios_noscroll(node) { function axios_noscroll(node) {
node.removeAttribute('style'); node.removeAttribute('style');
let overlay = document.querySelector('div[class^="Modal_paywallContainer"]'); let overlay = 'div[class^="Modal_paywallContainer"]';
hideDOMElement(overlay); hideDOMStyle(overlay, 2);
} }
waitDOMAttribute('html', 'HTML', 'style', axios_noscroll, true); waitDOMAttribute('html', 'HTML', 'style', axios_noscroll, true);
let banners = document.querySelectorAll('div[data-vars-experiment="pro-paywall"], .apexAd'); let banners = 'div[data-vars-experiment="pro-paywall"], .apexAd';
hideDOMElement(...banners); hideDOMStyle(banners);
csDoneOnce = true; csDoneOnce = true;
} }
@ -3821,8 +3825,8 @@ else if (matchDomain('barrons.com')) {
let continue_buttons = document.querySelectorAll('button.snippet__buttons--continue'); let continue_buttons = document.querySelectorAll('button.snippet__buttons--continue');
for (let elem of continue_buttons) for (let elem of continue_buttons)
elem.addEventListener('click', function () { window.location.reload(); }); elem.addEventListener('click', function () { window.location.reload(); });
let ads = document.querySelectorAll('div[class*="_AdWrapper-"], div[class*="-adWrapper-"]'); let ads = 'div[class*="_AdWrapper-"], div[class*="-adWrapper-"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} else { } else {
amp_unhide_subscr_section('.wsj-ad, amp-ad'); amp_unhide_subscr_section('.wsj-ad, amp-ad');
amp_images_replace(); amp_images_replace();
@ -3839,10 +3843,10 @@ else if (matchDomain('billboard.com')) {
else if (matchDomain('bloomberg.com')) { else if (matchDomain('bloomberg.com')) {
let paywall_sel = 'div[id^="fortress-"]'; let paywall_sel = 'div[id^="fortress-"]';
let paywall = document.querySelectorAll(paywall_sel); let paywall = paywall_sel;
let leaderboard = document.querySelector('div[id^="leaderboard"], div[class^="leaderboard"], div.canopy-container'); let leaderboard = 'div[id^="leaderboard"], div[class^="leaderboard"], div.canopy-container';
let ads = document.querySelectorAll('div[data-ad-status], div[data-ad-type], div[class^="FullWidthAd_"], div.adWrapper'); let ads = 'div[data-ad-status], div[data-ad-type], div[class^="FullWidthAd_"], div.adWrapper';
hideDOMElement(...paywall, leaderboard, ...ads); hideDOMStyle(paywall + ', ' + leaderboard + ', ' + ads);
csDoneOnce = true; csDoneOnce = true;
waitDOMElement(paywall_sel, 'DIV', removeDOMElement, true); waitDOMElement(paywall_sel, 'DIV', removeDOMElement, true);
waitDOMAttribute('body', 'BODY', 'data-paywall-overlay-status', node => node.removeAttribute('data-paywall-overlay-status'), true); waitDOMAttribute('body', 'BODY', 'data-paywall-overlay-status', node => node.removeAttribute('data-paywall-overlay-status'), true);
@ -3863,16 +3867,16 @@ else if (matchDomain('bloombergadria.com')) {
let article_hidden = document.querySelector('article[style]'); let article_hidden = document.querySelector('article[style]');
if (article_hidden) if (article_hidden)
article_hidden.removeAttribute('style'); article_hidden.removeAttribute('style');
let ads = document.querySelectorAll('.banner'); let ads = '.banner';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('bostonglobe.com')) { else if (matchDomain('bostonglobe.com')) {
if (window.location.search.startsWith('?outputType=amp')) { if (window.location.search.startsWith('?outputType=amp')) {
amp_unhide_subscr_section(); amp_unhide_subscr_section();
} else { } else {
let ads = document.querySelectorAll('div.arc_ad'); let ads = 'div.arc_ad';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
} }
@ -3898,8 +3902,8 @@ else if (matchDomain('bqprime.com')) {
} }
}, 1000); }, 1000);
} }
let ads = document.querySelectorAll('.responsive-ad'); let ads = '.responsive-ad';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('business-standard.com')) { else if (matchDomain('business-standard.com')) {
@ -3938,24 +3942,24 @@ else if (matchDomain('business-standard.com')) {
waitDOMElement(paywall_sel, 'DIV', bs_main, false); waitDOMElement(paywall_sel, 'DIV', bs_main, false);
} }
} }
let banner = document.querySelector('section.sbcrbtmlfull'); let banner = 'section.sbcrbtmlfull';
let ads = document.querySelectorAll('div.advertisement-bg, div[id^="between_article_content_"]'); let ads = 'div.advertisement-bg, div[id^="between_article_content_"]';
hideDOMElement(banner, ...ads); hideDOMStyle(banner + ', ' + ads);
} else } else
ampToHtml(); ampToHtml();
} }
else if (matchDomain('businessinsider.com')) { else if (matchDomain('businessinsider.com')) {
let ads = document.querySelectorAll('div.l-ad, div.in-post-sticky, aside.has-video-ad'); let ads = 'div.l-ad, div.in-post-sticky, aside.has-video-ad';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('businessoffashion.com')) { else if (matchDomain('businessoffashion.com')) {
if (window.location.search.startsWith('?outputType=amp')) { if (window.location.search.startsWith('?outputType=amp')) {
amp_unhide_access_hide(); amp_unhide_access_hide();
} else { } else {
let ads = document.querySelectorAll('div[class^="default__AdsBlockWrapper"]'); let ads = 'div[class^="default__AdsBlockWrapper"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
} }
@ -4057,8 +4061,8 @@ else if (matchDomain('defector.com')) {
} }
else if (matchDomain(['digiday.com', 'glossy.co', 'modernretail.co'])) { else if (matchDomain(['digiday.com', 'glossy.co', 'modernretail.co'])) {
let ads = document.querySelectorAll('div[class^="ad_"]'); let ads = 'div[class^="ad_"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('discovermagazine.com')) { else if (matchDomain('discovermagazine.com')) {
@ -4066,8 +4070,11 @@ else if (matchDomain('discovermagazine.com')) {
let mammoth = document.querySelector('.iXVGnF'); let mammoth = document.querySelector('.iXVGnF');
if (mammoth) if (mammoth)
refreshCurrentTab(); refreshCurrentTab();
let banner = document.querySelector('div.fIkXwQ'); let body = document.querySelector('body');
hideDOMElement(banner); if (body)
body.style = 'overflow: auto !important;';
let banners = 'div.fIkXwQ, div[style*="fadeIn"], div[role="button"][aria-label="Dismiss Dialog"]';
hideDOMStyle(banners);
}, 1000); }, 1000);
} }
@ -4141,8 +4148,8 @@ else if (matchDomain('dwell.com')) {
} }
} }
} }
let ads = document.querySelectorAll('div.EYrS5iukqzJMkNAcFQ0ho'); let ads = 'div.EYrS5iukqzJMkNAcFQ0ho';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('economictimes.com')) { else if (matchDomain('economictimes.com')) {
@ -4161,8 +4168,8 @@ else if (matchDomain('economictimes.com')) {
let intro = document.querySelector('.art_wrap'); let intro = document.querySelector('.art_wrap');
let article_blocker = document.querySelector('.articleBlocker'); let article_blocker = document.querySelector('.articleBlocker');
removeDOMElement(paywall, intro, article_blocker); removeDOMElement(paywall, intro, article_blocker);
let amp_ads = document.querySelectorAll('amp-ad'); let ads = 'amp-ad';
hideDOMElement(...amp_ads); hideDOMStyle(ads);
} }
} else { } else {
window.setTimeout(function () { window.setTimeout(function () {
@ -4178,8 +4185,8 @@ else if (matchDomain('economictimes.com')) {
else if (window.location.pathname.startsWith('/epaper/')) else if (window.location.pathname.startsWith('/epaper/'))
window.location.href = 'https://economictimes.indiatimes.com' + window.location.pathname; window.location.href = 'https://economictimes.indiatimes.com' + window.location.pathname;
} else { } else {
let ads = document.querySelectorAll('.adContainer'); let ads = '.adContainer';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
}, 500); }, 500);
} }
@ -4209,8 +4216,8 @@ else if (matchDomain('economist.com')) {
let hide_style = document.querySelector('body > style'); let hide_style = document.querySelector('body > style');
removeDOMElement(paywall, noscroll, hide_style); removeDOMElement(paywall, noscroll, hide_style);
} }
let ads = document.querySelectorAll('div[class*="_advert__"]'); let ads = 'div[class*="_advert__"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('enotes.com')) { else if (matchDomain('enotes.com')) {
@ -4285,8 +4292,8 @@ else if (matchDomain('fastcompany.com')) {
} }
} }
} }
let ads = document.querySelectorAll('div[class*="ad-wrapper"]'); let ads = 'div[class*="ad-wrapper"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('fieldandstream.com')) { else if (matchDomain('fieldandstream.com')) {
@ -4301,10 +4308,9 @@ else if (matchDomain('financialexpress.com')) {
let paywall = document.querySelector('div.paywall'); let paywall = document.querySelector('div.paywall');
if (paywall) if (paywall)
paywall.classList.remove('paywall'); paywall.classList.remove('paywall');
let register = document.querySelector('div.pcl-wrap'); let register = 'div.pcl-wrap';
let ads_selector = window.location.pathname.endsWith('/lite/') ? 'amp-ad, amp-embed, .ad-bg-container' : 'div[class*="-ads-blocks-ad-unit"]'; let ads_selector = window.location.pathname.endsWith('/lite/') ? 'amp-ad, amp-embed, .ad-bg-container' : 'div[class*="-ads-blocks-ad-unit"]';
let ads = document.querySelectorAll(ads_selector); hideDOMStyle(register + ', ' + ads_selector);
hideDOMElement(register, ...ads);
} }
else if (matchDomain('firstthings.com')) { else if (matchDomain('firstthings.com')) {
@ -4323,8 +4329,8 @@ else if (matchDomain('forbes.com')) {
header_nofix(header); header_nofix(header);
} }
} }
let ads = document.querySelectorAll('fbs-ad'); let ads = 'fbs-ad';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('foreignaffairs.com')) { else if (matchDomain('foreignaffairs.com')) {
@ -4391,8 +4397,8 @@ else if (matchDomain(['haaretz.co.il', 'haaretz.com', 'themarker.com'])) {
if (window.location.pathname.includes('/.')) { if (window.location.pathname.includes('/.')) {
let page_script = document.querySelector('script[src*="/page-"]'); let page_script = document.querySelector('script[src*="/page-"]');
if (page_script) { if (page_script) {
let disabled_items = document.querySelectorAll('section[data-testid="zoidberg-list"], section#comments-section'); let disabled_items = 'section[data-testid="zoidberg-list"], section#comments-section';
hideDOMElement(...disabled_items); hideDOMStyle(disabled_items);
let noprint = document.querySelectorAll('div.no-print'); let noprint = document.querySelectorAll('div.no-print');
for (let elem of noprint) for (let elem of noprint)
if (!elem.hasChildNodes()) if (!elem.hasChildNodes())
@ -4465,10 +4471,8 @@ else if (matchDomain('hilltimes.com')) {
waitDOMElement(paywall_sel, 'DIV', hilltimes_main, false); waitDOMElement(paywall_sel, 'DIV', hilltimes_main, false);
csDoneOnce = true; csDoneOnce = true;
} }
window.setTimeout(function () { let banner = 'section.hide_this_section';
let banner = document.querySelector('section.hide_this_section'); hideDOMStyle(banner);
hideDOMElement(banner);
}, 1000);
} }
else if (matchDomain('hindustantimes.com')) { else if (matchDomain('hindustantimes.com')) {
@ -4482,9 +4486,9 @@ else if (matchDomain('hindustantimes.com')) {
let noscroll = document.querySelector('body.open-popup'); let noscroll = document.querySelector('body.open-popup');
if (noscroll) if (noscroll)
noscroll.classList.remove('open-popup'); noscroll.classList.remove('open-popup');
let close_story = document.querySelector('.closeStory'); let close_story = '.closeStory';
let ads = document.querySelectorAll('div[class^="adHeight"]'); let ads = 'div[class^="adHeight"]';
hideDOMElement(close_story, ...ads); hideDOMStyle(close_story + ', ' + ads);
} }
else if (matchDomain('hindutamil.in')) { else if (matchDomain('hindutamil.in')) {
@ -4511,8 +4515,8 @@ else if (matchDomain('inc42.com')) {
let div_hidden = document.querySelector('div.single-post-content'); let div_hidden = document.querySelector('div.single-post-content');
if (div_hidden) if (div_hidden)
div_hidden.removeAttribute('class'); div_hidden.removeAttribute('class');
let banner = document.querySelector('div[id*="_leaderboard_"]'); let banner = 'div[id*="_leaderboard_"]';
hideDOMElement(banner); hideDOMStyle(banner);
} }
} }
@ -4520,8 +4524,8 @@ else if (matchDomain('indianexpress.com')) {
if (window.location.pathname.endsWith('/lite/')) if (window.location.pathname.endsWith('/lite/'))
amp_unhide_access_hide('="metering.result=\'ALLOW_ACCESS\'"', '', 'div.amp-ad, amp-embed'); amp_unhide_access_hide('="metering.result=\'ALLOW_ACCESS\'"', '', 'div.amp-ad, amp-embed');
else { else {
let ads = document.querySelectorAll('div[class^="adsbox"], div.adboxtop, div.add-first, div.osv-ad-class, div.ie-int-campign-ad'); let ads = 'div[class^="adsbox"], div.adboxtop, div.add-first, div.osv-ad-class, div.ie-int-campign-ad';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
} }
@ -4577,8 +4581,8 @@ else if (matchDomain('inkl.com')) {
} }
else if (matchDomain('insidehighered.com')) { else if (matchDomain('insidehighered.com')) {
let ads = document.querySelectorAll('div[id^="block-dfptag"], div.wp-block-ihe-ad, section.section-ad_slot, div#roadblock'); let ads = 'div[id^="block-dfptag"], div.wp-block-ihe-ad, section.section-ad_slot, div#roadblock';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('interestingengineering.com')) { else if (matchDomain('interestingengineering.com')) {
@ -4707,8 +4711,8 @@ else if (matchDomain('livelaw.in')) {
if (paywall_content) if (paywall_content)
paywall_content.classList.remove('hide'); paywall_content.classList.remove('hide');
} }
let ads = document.querySelectorAll('inside-post-ad, amp-ad'); let ads = 'inside-post-ad, amp-ad';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('livemint.com')) { else if (matchDomain('livemint.com')) {
@ -4719,8 +4723,8 @@ else if (matchDomain('livemint.com')) {
let paywall = document.querySelector('div.paywall'); let paywall = document.querySelector('div.paywall');
if (paywall) if (paywall)
paywall.classList.remove('paywall'); paywall.classList.remove('paywall');
let ads = document.querySelectorAll('[class^="ad"], [id^="ad"], #subscribeAd, .taboolaHeight'); let ads = '[class^="ad"], [id^="ad"], #subscribeAd, .taboolaHeight';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
} }
@ -4742,13 +4746,13 @@ else if (matchDomain('marketwatch.com')) {
removeDOMElement(meter, container_sponsored); removeDOMElement(meter, container_sponsored);
amp_unhide_subscr_section('.display-ad'); amp_unhide_subscr_section('.display-ad');
} }
let ads = document.querySelectorAll('div.element--ad, div.j-ad'); let ads = 'div.element--ad, div.j-ad';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('medscape.com')) { else if (matchDomain('medscape.com')) {
let ads = document.querySelectorAll('.AdUnit, [id^="ads-"]'); let ads = '.AdUnit, [id^="ads-"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('mexiconewsdaily.com')) { else if (matchDomain('mexiconewsdaily.com')) {
@ -4793,8 +4797,8 @@ else if (matchDomain('nationalgeographic.com')) {
let overlay = document.querySelector('div.Article__Content__Overlay--gated'); let overlay = document.querySelector('div.Article__Content__Overlay--gated');
if (overlay) if (overlay)
overlay.classList.remove('Article__Content__Overlay--gated'); overlay.classList.remove('Article__Content__Overlay--gated');
let ads = document.querySelectorAll('div.ad-slot, div.InsertedAd'); let ads = 'div.ad-slot, div.InsertedAd';
hideDOMElement(...ads); hideDOMStyle(ads);
}, 2000); }, 2000);
} }
@ -4808,10 +4812,9 @@ else if (matchDomain('nationalreview.com')) {
} }
}, 5000); }, 5000);
} }
let banners = document.querySelectorAll('div.zephr-wrapper, div#bc-root, div.cookie-text'); let banners = 'div.zephr-wrapper, div#bc-root, div.cookie-text';
hideDOMElement(...banners); let ads = 'amp-ad, .ad-unit, .ad-skeleton, amp-connatix-player, div[class*="-connatix-"]';
let ads = document.querySelectorAll('amp-ad, .ad-unit, .ad-skeleton, amp-connatix-player, div[class*="-connatix-"]'); hideDOMStyle(banners + ', ' + ads);
hideDOMElement(...ads);
} }
else if (matchDomain('nautil.us')) { else if (matchDomain('nautil.us')) {
@ -4830,8 +4833,8 @@ else if (matchDomain('newrepublic.com')) {
let modal = document.querySelector('div.article-scheduled-modal'); let modal = document.querySelector('div.article-scheduled-modal');
let pw_popups = document.querySelector('div#pwPopups'); let pw_popups = document.querySelector('div#pwPopups');
removeDOMElement(modal, pw_popups); removeDOMElement(modal, pw_popups);
let ads = document.querySelectorAll('.ad-unit'); let ads = '.ad-unit';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('newscientist.com')) { else if (matchDomain('newscientist.com')) {
@ -4865,8 +4868,8 @@ else if (matchDomain('newsday.com')) {
let nd_lock = document.querySelector('html[class]'); let nd_lock = document.querySelector('html[class]');
if (nd_lock) if (nd_lock)
nd_lock.removeAttribute('class'); nd_lock.removeAttribute('class');
let ads = document.querySelectorAll('div[class^="ad_full-banner_"]'); let ads = 'div[class^="ad_full-banner_"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
} }
@ -4894,8 +4897,8 @@ else if (matchDomain('newslaundry.com')) {
} }
else if (matchDomain('newsweek.com')) { else if (matchDomain('newsweek.com')) {
let ads = document.querySelectorAll('div#topad, div[id^="dfp-ad-"]'); let ads = 'div#topad, div[id^="dfp-ad-"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain(['nola.com', 'theadvocate.com'])) { else if (matchDomain(['nola.com', 'theadvocate.com'])) {
@ -4910,23 +4913,21 @@ else if (matchDomain('nybooks.com')) {
let paywall_article = document.querySelector('.paywall-article'); let paywall_article = document.querySelector('.paywall-article');
if (paywall_article) if (paywall_article)
paywall_article.classList.remove('paywall-article'); paywall_article.classList.remove('paywall-article');
let banners = document.querySelectorAll('div.toast-cta, div.inline-ad'); let banners = 'div.toast-cta, div.inline-ad';
hideDOMElement(...banners); hideDOMStyle(banners);
} }
else if (matchDomain('nytimes.com')) { else if (matchDomain('nytimes.com')) {
waitDOMElement('div#dock-container', 'DIV', removeDOMElement, false); waitDOMElement('div#dock-container', 'DIV', removeDOMElement, false);
csDoneOnce = true; csDoneOnce = true;
window.setTimeout(function () { let banners = 'div[data-testid="inline-message"], div[id^="ad-"], div.pz-ad-box';
let banners = document.querySelectorAll('div[data-testid="inline-message"], div[id^="ad-"], div.pz-ad-box'); hideDOMStyle(banners);
hideDOMElement(...banners);
}, 1000);
} }
else if (matchDomain('nzherald.co.nz')) { else if (matchDomain('nzherald.co.nz')) {
// plus code in contentScript_once_var.js (timing) // plus code in contentScript_once_var.js (timing)
let premium_toaster = document.querySelector('#premium-toaster'); let premium_toaster = '#premium-toaster';
hideDOMElement(premium_toaster); hideDOMStyle(premium_toaster);
} }
else if (matchDomain('outlookbusiness.com')) { else if (matchDomain('outlookbusiness.com')) {
@ -5165,14 +5166,14 @@ else if (matchDomain('scmp.com')) {
let paywalled = document.querySelector('div.paywalled-content'); let paywalled = document.querySelector('div.paywalled-content');
if (paywalled) if (paywalled)
paywalled.removeAttribute('class'); paywalled.removeAttribute('class');
let ads = document.querySelectorAll('div[data-qa*="AdSlot"], div.adblock-message'); let ads = 'div[data-qa*="AdSlot"], div.adblock-message';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
} }
else if (matchDomain('seattletimes.com')) { else if (matchDomain('seattletimes.com')) {
let ads = document.querySelectorAll('.top-ad-wrapper'); let ads = '.top-ad-wrapper';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('seekingalpha.com')) { else if (matchDomain('seekingalpha.com')) {
@ -5191,14 +5192,14 @@ else if (matchDomain('seekingalpha.com')) {
else if (matchDomain(sg_sph_media_domains)) { else if (matchDomain(sg_sph_media_domains)) {
let url = window.location.href; let url = window.location.href;
getArchive(url, 'div#nocx_paywall_area', '', 'main#content'); getArchive(url, 'div#nocx_paywall_area', '', 'main#content');
let ads = document.querySelectorAll('div.ads, div[id^="dfp-ad-"], div.cx_paywall_placeholder'); let ads = 'div.ads, div[id^="dfp-ad-"], div.cx_paywall_placeholder';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('slate.com')) { else if (matchDomain('slate.com')) {
let slate_roadblock = document.querySelector('.slate-roadblock'); let slate_roadblock = '.slate-roadblock';
let ads = document.querySelectorAll('section[class*="-ad"]'); let ads = 'section[class*="-ad"]';
hideDOMElement(slate_roadblock, ...ads); hideDOMStyle(slate_roadblock + ', ' + ads);
} }
else if (matchDomain('slideshare.net')) { else if (matchDomain('slideshare.net')) {
@ -5208,8 +5209,8 @@ else if (matchDomain('slideshare.net')) {
} }
else if (matchDomain('sltrib.com')) { else if (matchDomain('sltrib.com')) {
let ads = document.querySelectorAll('div.stickyAd, div[class^="sltrib_medrec"]'); let ads = 'div.stickyAd, div[class^="sltrib_medrec"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('sloanreview.mit.edu')) { else if (matchDomain('sloanreview.mit.edu')) {
@ -5404,8 +5405,8 @@ else if (matchDomain(['techtarget.com', 'computerweekly.com', 'lemagit.fr'])) {
} }
else if (matchDomain('texasmonthly.com')) { else if (matchDomain('texasmonthly.com')) {
let ads = document.querySelectorAll('div.promo-in-body'); let ads = 'div.promo-in-body';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('the-american-interest.com')) { else if (matchDomain('the-american-interest.com')) {
@ -5454,8 +5455,8 @@ else if (matchDomain('theathletic.com')) {
if (!(window.location.search.match(/(\?|&)amp/) && !document.querySelector('head > link[rel="amphtml"]'))) { if (!(window.location.search.match(/(\?|&)amp/) && !document.querySelector('head > link[rel="amphtml"]'))) {
function theathletic_func(node) { function theathletic_func(node) {
removeDOMElement(node); removeDOMElement(node);
let overlays = document.querySelectorAll('div[id*="overlay"], div:empty:not([data-rjs])'); let overlays = 'div[id*="overlay"], div:empty:not([data-rjs])';
hideDOMElement(...overlays); hideDOMStyle(overlays);
let body = document.querySelector('body'); let body = document.querySelector('body');
if (body) { if (body) {
body.style.overflow = 'visible'; body.style.overflow = 'visible';
@ -5480,8 +5481,8 @@ else if (matchDomain('theatlantic.com')) {
let videos = document.querySelectorAll('iframe[data-src]:not([src])'); let videos = document.querySelectorAll('iframe[data-src]:not([src])');
for (let video of videos) for (let video of videos)
video.src = video.getAttribute('data-src'); video.src = video.getAttribute('data-src');
let banners = document.querySelectorAll('aside#paywall, div[class^="LostInventoryMessage_"]'); let banners = 'aside#paywall, div[class^="LostInventoryMessage_"]';
hideDOMElement(...banners); hideDOMStyle(banners);
} }
else if (matchDomain('thebulletin.org')) { else if (matchDomain('thebulletin.org')) {
@ -5567,18 +5568,18 @@ else if (matchDomain('theglobeandmail.com')) {
let lazy_images = document.querySelectorAll('img[src^="data:image/"][data-src]'); let lazy_images = document.querySelectorAll('img[src^="data:image/"][data-src]');
for (let elem of lazy_images) for (let elem of lazy_images)
elem.src = elem.getAttribute('data-src'); elem.src = elem.getAttribute('data-src');
let ads = document.querySelectorAll('div.c-ad, div[class^="BaseAd__"]'); let ads = 'div.c-ad, div[class^="BaseAd__"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain(['thehindu.com', 'thehindubusinessline.com'])) { else if (matchDomain(['thehindu.com', 'thehindubusinessline.com'])) {
if (!window.location.pathname.endsWith('/amp/')) { if (!window.location.pathname.endsWith('/amp/')) {
let counter = document.querySelector('#test'); let counter = '#test';
let ads = document.querySelectorAll('div.article-ad, div.dfp-ad, div#paywallbox, div[id^="piano-art-"]'); let ads = 'div.article-ad, div.dfp-ad, div#paywallbox, div[id^="piano-art-"]';
hideDOMElement(counter, ...ads); hideDOMStyle(counter + ', ' + ads);
} else { } else {
let ads = document.querySelectorAll('amp-ad, amp-embed, [class^="height"], [class^="advt"], [id^="piano"]'); let ads = 'amp-ad, amp-embed, [class^="height"], [class^="advt"], [id^="piano"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
function hindu_main() { function hindu_main() {
if (window) { if (window) {
@ -5917,8 +5918,8 @@ else if (matchDomain('timeshighereducation.com')) {
hidden_image.classList.remove('b-lazy'); hidden_image.classList.remove('b-lazy');
hidden_image.parentElement.classList.remove('media--loading'); hidden_image.parentElement.classList.remove('media--loading');
} }
let ads = document.querySelectorAll('div[id^="div-gpt-in-article-ad-"], div[class^="the-dfp__in-article-ATD"]'); let ads = 'div[id^="div-gpt-in-article-ad-"], div[class^="the-dfp__in-article-ATD"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain(timesofindia_domains)) { else if (matchDomain(timesofindia_domains)) {
@ -6124,13 +6125,13 @@ else if (matchDomain(usa_craincomm_domains)) {
} }
else if (matchDomain(usa_nymag_domains)) { else if (matchDomain(usa_nymag_domains)) {
let ads = document.querySelectorAll('div.m-ad'); let ads = 'div.m-ad';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain(usa_outside_mag_domains)) { else if (matchDomain(usa_outside_mag_domains)) {
let ads = document.querySelectorAll('div.js-ad'); let ads = 'div.js-ad';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain(usa_tribune_domains)) { else if (matchDomain(usa_tribune_domains)) {
@ -6198,14 +6199,14 @@ else if (matchDomain('voguebusiness.com')) {
} }
else if (matchDomain('washingtonpost.com')) { else if (matchDomain('washingtonpost.com')) {
let leaderboard = document.querySelector('#leaderboard-wrapper'); let leaderboard = '#leaderboard-wrapper';
let ads = document.querySelectorAll('div[data-qa$="-ad"]'); let ads = 'div[data-qa$="-ad"]';
hideDOMElement(leaderboard, ...ads); hideDOMStyle(leaderboard + ', ' + ads);
} }
else if (matchDomain('winnipegfreepress.com')) { else if (matchDomain('winnipegfreepress.com')) {
let ads = document.querySelectorAll('.billboard-ad-space, .article-ad, .fixed-sky'); let ads = '.billboard-ad-space, .article-ad, .fixed-sky';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('wsj.com')) { else if (matchDomain('wsj.com')) {
@ -6279,8 +6280,8 @@ else if (matchDomain('wsj.com')) {
} }
} }
} }
let ads = document.querySelectorAll('div.wsj-ad, div.adWrapper, div.css-xgokil-Box'); let ads = 'div.wsj-ad, div.adWrapper, div.css-xgokil-Box';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain('zerohedge.com')) { else if (matchDomain('zerohedge.com')) {
@ -6374,8 +6375,8 @@ else if ((domain = matchDomain(usa_lee_ent_domains)) || matchDomain(ca_torstar_d
let banners = document.querySelectorAll('div.subscription-required, div.redacted-overlay'); let banners = document.querySelectorAll('div.subscription-required, div.redacted-overlay');
removeDOMElement(...banners); removeDOMElement(...banners);
} }
let ads = document.querySelectorAll('div.tnt-ads-container, div[class*="adLabelWrapper"]'); let ads = 'div.tnt-ads-container, div[class*="adLabelWrapper"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
} }
@ -6414,8 +6415,8 @@ else if ((domain = matchDomain(usa_mcc_domains)) ||
if (premium_link.href.includes('www.')) if (premium_link.href.includes('www.'))
premium_link.href = premium_link.href.replace('www.', 'amp.'); premium_link.href = premium_link.href.replace('www.', 'amp.');
} }
let ads = document.querySelectorAll('div[id^="zone-el-"]'); let ads = 'div[id^="zone-el-"]';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (matchDomain(usa_mng_domains) || document.querySelector('head > link[rel="stylesheet"][id^="dfm-accuweather-"], footer li > a[href^="https://www.medianewsgroup.com"]')) { else if (matchDomain(usa_mng_domains) || document.querySelector('head > link[rel="stylesheet"][id^="dfm-accuweather-"], footer li > a[href^="https://www.medianewsgroup.com"]')) {
@ -6432,8 +6433,8 @@ else if (document.querySelector('script[src*=".axate.io/"]')) {
} }
else if (document.querySelector('head > meta[property][content^="https://cdn.forumcomm.com/"]')) { else if (document.querySelector('head > meta[property][content^="https://cdn.forumcomm.com/"]')) {
let ads = document.querySelectorAll('div.GoogleDfpAd-Content'); let ads = 'div.GoogleDfpAd-Content';
hideDOMElement(...ads); hideDOMStyle(ads);
} }
else if (document.querySelector('head > link[href*="/leaky-paywall"], script[src*="/leaky-paywall"], div[id^="issuem-leaky-paywall-"]')) { else if (document.querySelector('head > link[href*="/leaky-paywall"], script[src*="/leaky-paywall"], div[id^="issuem-leaky-paywall-"]')) {

4
lib/purify.min.js vendored

File diff suppressed because one or more lines are too long