Fix Unherd (css)

merge-requests/16/head
magnolia1234 8 months ago
parent 09f752fb89
commit 50acf6e9ac

@ -9,6 +9,7 @@ Fix BusinessPost.ie (js)
Fix Estadao.com.br (js)
Fix NyTeknik.se
Fix Tuttosport (image)
Fix Unherd (css)
* v3.3.7.0 (2023-10-08)
Add Bhaskar (India)

@ -2695,7 +2695,7 @@ else if (matchDomain('vn.nl')) {
else
csDone = true;
} else if ((window.location.hostname.match(/\.(ie|uk)$/) && !matchDomain(['investmentweek.co.uk'])) || matchDomain(['citywire.com', 'ft.com', 'granta.com', 'scotsman.com', 'tes.com'])) {//united kingdom/ireland
} else if ((window.location.hostname.match(/\.(ie|uk)$/) && !matchDomain(['investmentweek.co.uk'])) || matchDomain(['citywire.com', 'ft.com', 'granta.com', 'scotsman.com', 'tes.com', 'unherd.com'])) {//united kingdom/ireland
if (matchDomain('autocar.co.uk')) {
let url = window.location.href;
@ -3127,6 +3127,16 @@ else if (matchDomain('thetimes.co.uk')) {
}
}
else if (matchDomain('unherd.com')) {
let preview = document.querySelector('div#premiumpreview');
if (preview) {
removeDOMElement(preview);
let premium = document.querySelector('div#premiumcontent');
if (premium)
premium.removeAttribute('id');
}
}
else if (matchDomain(uk_nat_world_domains) || document.querySelector('footer > div a[href^="https://www.nationalworldplc.com"]')) {
let premium = document.querySelector('div.premium');
if (premium)

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.3.7.5"
"version": "3.3.7.6"
}

@ -546,6 +546,11 @@
"block_regex": "loader-cdn\\.azureedge\\.net",
"domain": "pressherald.com"
},
"Pv-digest.de": {
"allow_cookies": 1,
"domain": "pv-digest.de",
"useragent": "googlebot"
},
"Pv-tech.org": {
"allow_cookies": 1,
"domain": "pv-tech.org",

@ -799,5 +799,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.3.7.5"
"version": "3.3.7.6"
}

@ -125,6 +125,13 @@
"useragent": "googlebot",
"upd_version": "3.1.4.0"
},
"UnHerd": {
"domain": "unherd.com",
"allow_cookies": 1,
"block_regex": "\\.piano\\.io",
"cs_code": "[{\"cond\":\"div#premiumpreview\", \"rm_elem\":1, \"elems\":[{\"cond\":\"div#premiumcontent\", \"rm_attrib\":\"id\"}]}]",
"upd_version": "3.3.7.6"
},
"Volksstimme": {
"domain": "volksstimme.de",
"allow_cookies": 1,

Loading…
Cancel
Save