Fix The Economic Times (print)

This commit is contained in:
magnolia1234 2023-08-13 17:01:45 +02:00
parent d3e25bb972
commit d7dd4f1165
6 changed files with 19 additions and 3 deletions

View file

@ -10,6 +10,7 @@ Add The Week (UK & USA)
Remove The Hollywood Reporter (no paywall)
Fix Harvard Business Review (js)
Fix Stylist.co.uk (css)
Fix The Economic Times (print)
Fix The Toronto Star (homepage)
Fix Times of India (css)
Fix mobile user-agent for Google webcache (proper)

View file

@ -3609,6 +3609,9 @@ else if (matchDomain('economictimes.indiatimes.com')) {
let page_content = document.querySelector('div.pageContent:not([style])');
if (page_content)
page_content.setAttribute('style', 'height: auto !important;');
let article_wrap = document.querySelector('div.article_wrap[style]');
if (article_wrap)
article_wrap.removeAttribute('style');
}
}

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.2.8.8"
"version": "3.2.8.9"
}

View file

@ -195,7 +195,7 @@
"allow_cookies": 1,
"domain": "gp.se"
},
"Gplanet.co.il": {
"Gplanet.co.il (not lectures)": {
"allow_cookies": 1,
"domain": "gplanet.co.il",
"ld_json": "div.subscription-form|div.content-inner"

View file

@ -783,5 +783,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.2.8.8"
"version": "3.2.8.9"
}

View file

@ -115,6 +115,18 @@
"block_regex": "cdn\\.cxense\\.com\\/cx\\.js",
"upd_version": "3.2.6.6"
},
"The Economic Times (ET Prime)": {
"domain": "###_economictimes",
"group": [
"economictimes.com",
"economictimes.indiatimes.com"
],
"allow_cookies": 1,
"useragent": "googlebot",
"cs_dompurify": 1,
"cs_code": "[{\"cond\":\"div.article_wrap[style]\", \"rm_attrib\":\"style\"}]",
"upd_version": "3.2.8.9"
},
"The Economist": {
"domain": "economist.com",
"allow_cookies": 1,