Fix Newsday (overlay)

merge-requests/14/head
magnolia1234 1 year ago
parent 63ce9cdb46
commit 3614b26ca4

@ -9,6 +9,7 @@ Remove Hln.be (fix obsolete)
Remove Lequipe.fr (fix obsolete)
Fix Harper's Magazine (modal)
Fix Madsack Mediengruppe (custom flex sites)
Fix Newsday (overlay)
Fix NK News (pro)
Fix Quartz (newsletter)
Fix Quotidiano.net sites
@ -1117,7 +1118,7 @@ Fix Gazet van Antwerpen (amo: remove external mediaplayer scripts)
* v2.1.1.0 (2021-03-07)
Add Atlantico (France)
Add Politica Exterior (Spain)
Fix Chronicle of Higher Education (scroll)
Fix Chronicle of Higher Education (overlay)
Fix Grupo Vocento (amp)
Fix New Left Review

@ -1331,11 +1331,11 @@ else if (matchDomain(es_grupo_vocento_domains)) {
removeDOMElement(paywall);
window.location.href = amphtml.href;
} else {
let banners = document.querySelectorAll('.voc-advertising, div.ev-em-modal, span.mega-superior');
let banners = document.querySelectorAll('.voc-advertising, div.ev-em-modal, span.mega-superior, .v-adv');
removeDOMElement(...banners);
}
} else {
amp_unhide_access_hide('="result=\'ALLOW_ACCESS\'"', '="result!=\'ALLOW_ACCESS\'"', 'amp-ad, amp-embed');
amp_unhide_access_hide('="result=\'ALLOW_ACCESS\'"', '="result!=\'ALLOW_ACCESS\'"', 'amp-ad, amp-embed, .v-adv');
removeDOMElement(paywall);
let body_top = document.querySelector('body#top');
if (body_top)
@ -3769,6 +3769,12 @@ else if (matchDomain('newscientist.com')) {
else if (matchDomain('newsday.com')) {
if (window.location.pathname.startsWith('/amp/')) {
amp_unhide_access_hide('="AccessLevel = \'Full Content Access\' OR Error = true"', '="Error != true AND UserState != \'Subscribed\'"');
} else {
let nd_lock = document.querySelector('html[class]');
if (nd_lock)
nd_lock.removeAttribute('class');
let ads = document.querySelectorAll('div[class^="ad_full-banner_"]');
hideDOMElement(...ads);
}
}

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.0.6.7"
"version": "3.0.6.8"
}

@ -743,5 +743,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.0.6.7"
"version": "3.0.6.8"
}

@ -1,20 +1,4 @@
{
"Condé Nast magazines": {
"domain": "###_usa_conde_nast",
"group": [
"architecturaldigest.com",
"bonappetit.com",
"gq.com",
"newyorker.com",
"vanityfair.com",
"vogue.com",
"wired.com"
],
"allow_cookies": 1,
"remove_cookies": 1,
"block_regex": "(\\.{domain}\\/journey\\/compiler\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
"useragent": "googlebot"
},
"DH Les Sports+": {
"domain": "dhnet.be",
"allow_cookies": 1,
@ -35,16 +19,6 @@
"domain": "harpers.org",
"block_regex": "\\/harpers\\.org\\/wp-content\\/themes\\/timber\\/static\\/js\\/modal.+\\.js"
},
"Inside Higher Ed": {
"domain": "insidehighered.com",
"allow_cookies": 1,
"block_regex": "js\\.pelcro\\.com"
},
"Kölner Stadt-Anzeiger": {
"domain": "ksta.de",
"allow_cookies": 1,
"cs_code": "[{\"cond\":\"div.paywalled-content\",\"rm_attrib\":\"class\",\"elems\":[{\"cond\":\"div.dm-paywall-wrapper\",\"rm_elem\":1}]}]"
},
"L'Informé": {
"domain": "linforme.com",
"allow_cookies": 1,

Loading…
Cancel
Save