Fix The Atlantic (images)

merge-requests/13/head
magnolia1234 2 years ago
parent 84c831c5b4
commit c4a4115bf3

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

@ -4034,6 +4034,9 @@ else if (matchDomain('theathletic.com')) {
} }
else if (matchDomain('theatlantic.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_"]'); let banners = document.querySelectorAll('.c-nudge__container, .c-non-metered-nudge, div[class^="ArticleInjector_"]');
hideDOMElement(...banners); hideDOMElement(...banners);
} }

@ -25,6 +25,11 @@
"Brainly.com": { "Brainly.com": {
"domain": "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": { "Brusselstimes.com": {
"allow_cookies": 1, "allow_cookies": 1,
"block_regex": "\\.piano\\.io\\/xbuilder\\/experience\\/execute", "block_regex": "\\.piano\\.io\\/xbuilder\\/experience\\/execute",

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

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

Loading…
Cancel
Save