Fix The Atlantic (menu & videos)

merge-requests/17/head
magnolia1234 6 months ago
parent 3213a2f8c9
commit 4213bde428

@ -9,6 +9,7 @@ Fix Beobachter.ch (json)
Fix Bloomberg (css)
Fix Crikey.com.au (cookie)
Fix Nikkei Asian Review (cookie)
Fix The Atlantic (menu & videos)
Fix TheTimes.co.uk (fetch from archive.is)
* v3.4.5.0 (2023-12-03)

@ -4928,10 +4928,7 @@ else if (matchDomain('theathletic.com')) {
}
else if (matchDomain('theatlantic.com')) {
let lazy_images = document.querySelectorAll('img[class*="Image_lazy__"]');
for (let elem of lazy_images)
removeClassesByPrefix(elem, 'Image_lazy__');
let banners = document.querySelectorAll('.c-nudge__container, .c-non-metered-nudge, div[class^="ArticleInjector_"]');
let banners = document.querySelectorAll('aside#paywall, div[class^="LostInventoryMessage_"]');
hideDOMElement(...banners);
}

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.4.5.4"
"version": "3.4.5.5"
}

@ -830,5 +830,5 @@
"*://archive.vn/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.4.5.4"
"version": "3.4.5.5"
}

@ -2176,7 +2176,6 @@ var defaultSites = {
},
"The Atlantic": {
domain: "theatlantic.com",
block_regex: /cdn\.theatlantic\.com\/_next\/static\/chunks\/pages\/.+\/archive\//,
remove_cookies_select_drop: ["articleViews"]
},
"The Baffler": {

@ -66,6 +66,11 @@
"allow_cookies": 1,
"upd_version": "3.4.4.3"
},
"The Atlantic": {
"domain": "theatlantic.com",
"remove_cookies_select_drop": ["articleViews"],
"upd_version": "3.4.5.5"
},
"The Economist": {
"domain": "economist.com",
"allow_cookies": 1,

Loading…
Cancel
Save