diff --git a/README.md b/README.md index 1b0c6968..2c1afb61 100644 --- a/README.md +++ b/README.md @@ -320,6 +320,7 @@ Grouped in options:\ [Le Devoir](https://www.ledevoir.com) - [The Globe and Mail](https://www.theglobeandmail.com) - [The Hill Times](https://www.hilltimes.com) - +[The Lawyer's Daily](https://www.thelawyersdaily.ca) - [Winnipeg Free Press](https://www.winnipegfreepress.com) Grouped in options:\ diff --git a/changelog.txt b/changelog.txt index addf65a3..3be44ca5 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Add The Lawyer's Daily (Canada) Fix The Globe and Mail (revert to old fix) * v2.6.9.0 (2022-05-15) diff --git a/contentScript.js b/contentScript.js index 1df4d77a..031946f3 100644 --- a/contentScript.js +++ b/contentScript.js @@ -3485,6 +3485,11 @@ else if (matchDomain(['thehindu.com', 'thehindubusinessline.com'])) { document.dispatchEvent(new CustomEvent('bpc_event', {})); } +else if (matchDomain('thelawyersdaily.ca')) { + let modal = document.querySelectorAll('#NewsletterModal, .modal-backdrop'); + removeDOMElement(...modal); +} + else if (matchDomain('thenewatlantis.com')) { let article_gated = document.querySelector('.article-gated'); if (article_gated) diff --git a/manifest.json b/manifest.json index 401369ac..cf43f133 100644 --- a/manifest.json +++ b/manifest.json @@ -549,6 +549,7 @@ "*://*.thehindu.com/*", "*://*.thehindubusinessline.com/*", "*://*.theintercept.com/*", + "*://*.thelawyersdaily.ca/*", "*://*.themarker.com/*", "*://*.themarket.ch/*", "*://*.themercury.com.au/*", @@ -673,5 +674,5 @@ "*://*.wsj.net/*", "*://webcache.googleusercontent.com/*" ], - "version": "2.6.9.1" + "version": "2.6.9.2" } diff --git a/sites.js b/sites.js index 81ece932..5b14f48a 100644 --- a/sites.js +++ b/sites.js @@ -1341,7 +1341,7 @@ var defaultSites = { "variety.com", "wwd.com" ], - block_regex: /(\.tinypass\.com\/|cdn\.cxense\.com\/|\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/ + block_regex: /(cdn\.cxense\.com\/|\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/ }, "Philosophy Now": { domain: "philosophynow.org" @@ -1673,6 +1673,11 @@ var defaultSites = { allow_cookies: 1, block_regex: /\.jpost\.com\/js\/js_article\.min\.js/ }, + "The Lawyer's Daily": { + domain: "thelawyersdaily.ca", + allow_cookies: 1, + useragent: "googlebot" + }, "The Marker": { domain: "themarker.com", allow_cookies: 1, diff --git a/sites_updated.json b/sites_updated.json index 640e33dc..fa0ee965 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -1,27 +1,4 @@ { - "De Tijd": { - "domain": "tijd.be", - "referer": "google" - }, - "Finance.si": { - "domain": "finance.si", - "allow_cookies": 1, - "block_regex": "\\.poool\\.fr\\/" - }, - "L'Écho": { - "domain": "lecho.be", - "referer": "google" - }, - "The Daily Wire": { - "domain": "dailywire.com", - "allow_cookies": 1, - "cs_code": [{ - "cond": "#post-body-text > div > div[class]", - "rm_attrib": "class" - } - ], - "new_site": 1 - }, "The Dallas Morning News": { "domain": "dallasnews.com", "allow_cookies": 1, @@ -32,6 +9,11 @@ "domain": "theglobeandmail.com", "block_regex": "(\\.theglobeandmail\\.com\\/pf\\/dist\\/engine\\/react\\.js|smartwall\\.theglobeandmail\\.com\\/)" }, + "The Lawyer's Daily": { + "domain": "thelawyersdaily.ca", + "allow_cookies": 1, + "useragent": "googlebot" + }, "The Star Malaysia": { "domain": "thestar.com.my", "block_regex": "(cdn\\.cxense\\.com\\/|\\.piano\\.io\\/)"