diff --git a/changelog.txt b/changelog.txt index 7ad96616..338e19cc 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/contentScript.js b/contentScript.js index a4d4f084..bc4cef16 100644 --- a/contentScript.js +++ b/contentScript.js @@ -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'); } } diff --git a/custom/manifest.json b/custom/manifest.json index b449780f..0527a4e1 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.2.8.8" + "version": "3.2.8.9" } diff --git a/custom/sites_custom.json b/custom/sites_custom.json index c98ec742..a420209c 100644 --- a/custom/sites_custom.json +++ b/custom/sites_custom.json @@ -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" diff --git a/manifest.json b/manifest.json index 59518c9d..ece3adab 100644 --- a/manifest.json +++ b/manifest.json @@ -783,5 +783,5 @@ "*://*.wyleex.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.2.8.8" + "version": "3.2.8.9" } diff --git a/sites_updated.json b/sites_updated.json index 32c0bee4..9d08af5a 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -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,