Fix The Atlantic (images)

merge-requests/13/head
magnolia1234 1 year ago
parent 84c831c5b4
commit c4a4115bf3

@ -9,7 +9,7 @@ Fix Conde Nast magazines (cookies)
Fix DvhN.nl (json)
Fix Los Angeles Times & San Diego Union-Tribune
Fix Madsack Mediengruppe
Fix The Atlantic (menu)
Fix The Atlantic (images)
Fix The Australian (The Oz)
Fix The Globe and Mail (media)

@ -4034,6 +4034,9 @@ else if (matchDomain('theathletic.com')) {
}
else if (matchDomain('theatlantic.com')) {
let lazy_images = document.querySelectorAll('img.Image_lazy__tutlP');
for (let elem of lazy_images)
elem.classList.remove('Image_lazy__tutlP');
let banners = document.querySelectorAll('.c-nudge__container, .c-non-metered-nudge, div[class^="ArticleInjector_"]');
hideDOMElement(...banners);
}

@ -25,6 +25,11 @@
"Brainly.com": {
"domain": "brainly.com"
},
"Brandonsun.com": {
"allow_cookies": 1,
"block_regex": "account\\.brandonsun\\.com\\/api\\/v\\d\\/auth\\/identify",
"domain": "brandonsun.com"
},
"Brusselstimes.com": {
"allow_cookies": 1,
"block_regex": "\\.piano\\.io\\/xbuilder\\/experience\\/execute",

@ -1778,8 +1778,8 @@ var defaultSites = {
},
"The Atlantic": {
domain: "theatlantic.com",
remove_cookies_select_drop: ["articleViews"],
useragent: "facebookbot"
block_regex: /cdn\.theatlantic\.com\/_next\/static\/chunks\/[5-7].+\.js/,
remove_cookies_select_drop: ["articleViews"]
},
"The Australian Financial Review": {
domain: "afr.com",

@ -76,7 +76,6 @@
},
"The Atlantic": {
"domain": "theatlantic.com",
"remove_cookies_select_drop": ["articleViews"],
"useragent": "facebookbot"
"block_regex": "cdn\\.theatlantic\\.com\\/_next\\/static\\/chunks\\/[5-7].+\\.js"
}
}

Loading…
Cancel
Save