Fix The Globe and Mail (css)

This commit is contained in:
magnolia1234 2023-11-10 17:21:48 +01:00
parent 73f39a5f40
commit dd7625e4b5
3 changed files with 11 additions and 0 deletions

View file

@ -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)

View file

@ -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;');

View file

@ -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,