Fix The Globe and Mail (css)

merge-requests/16/head
magnolia1234 7 months ago
parent 73f39a5f40
commit dd7625e4b5

@ -12,6 +12,7 @@ Fix Groupe Rossel (link to archive.is)
Fix Italian.tech (GEDI.it)
Fix Telegraaf.nl (images)
Fix The Diplomat
Fix The Globe and Mail (css)
Update block general paywall script (fix TownNews)
Update custom sites (delete default sites)
Update Leaky Paywall (identify more sites)

@ -4893,6 +4893,9 @@ else if (matchDomain('theglobeandmail.com')) {
window.location.href = window.location.pathname + '?rel=premium';
}
} else {
let html_nojs = document.querySelector('html.no-js');
if (html_nojs)
html_nojs.classList.remove('no-js');
let header_hidden = document.querySelectorAll('div.o-primary-header, div.c-article-meta');
for (let elem of header_hidden)
elem.setAttribute('style', 'display: block !important;');

@ -175,6 +175,13 @@
"block_regex": "subs\\.theepochtimes\\.com\\/rules\\/get",
"upd_version": "3.4.0.8"
},
"The Globe and Mail": {
"domain": "theglobeandmail.com",
"block_js_inline": "\\.theglobeandmail\\.com\\/.+\\/article-.+\\?rel=premium",
"block_regex": "smartwall\\.theglobeandmail\\.com\\/",
"cs_code": "[{\"cond\":\"html.no-js\", \"rm_class\":\"no-js\"}]",
"upd_version": "3.4.1.7"
},
"The Hindu": {
"domain": "thehindu.com",
"allow_cookies": 1,

Loading…
Cancel
Save