From cb0b7dd186499836d513f9fc64af71bc4aca3d94 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sun, 21 Mar 2021 09:52:42 +0100 Subject: [PATCH] Add The Dallas Morning News (local USA) --- README.md | 1 + background.js | 2 ++ changelog.txt | 1 + manifest.json | 3 ++- sites.js | 1 + version.js | 6 ++++-- 6 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 35417476..da95d199 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,7 @@ _* free articles only._ [San Francisco Chronicle](https://www.sfchronicle.com) - [Star Tribune](https://www.startribune.com) - [The Boston Globe](https://www.bostonglobe.com) - +[The Dallas Morning News](https://www.dallasnews.com) - [The Denver Post](https://www.denverpost.com) - [The Mercury News](https://www.mercurynews.com) - [The Seattle Times](https://www.seattletimes.com) - diff --git a/background.js b/background.js index 570962c0..9358b781 100644 --- a/background.js +++ b/background.js @@ -46,6 +46,7 @@ var allow_cookies_default = [ 'clarin.com', 'cmjornal.pt', 'chronicle.com', + 'dallasnews.com', 'df.cl', 'dn.se', 'dvhn.nl', @@ -255,6 +256,7 @@ var blockedRegexes = { 'clarin.com': /js\.matheranalytics\.com\//, 'cmjornal.pt': /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad)-.+\.js/, 'corriere.it': /(\.tinypass\.com\/|\.rcsobjects\.it\/rcs_(cpmt|tracking-service)\/|\.corriereobjects\.it\/.+\/js\/(_paywall\.sjs|tracking\/)|\.userzoom\.com\/files\/js\/)/, + 'dallasnews.com': /(\.blueconic\.net\/|js\.matheranalytics\.com\/)/, 'digiday.com': /\.tinypass\.com\//, 'dvhn.nl': /\.evolok\.net\/.+\/authorize\//, 'economist.com': /\.tinypass\.com\//, diff --git a/changelog.txt b/changelog.txt index 83d92f16..bdc733d3 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Berliner Zeitung (Germany) +Add The Dallas Morning News (local USA) Add Entrepreneur Fix-update The Saturday Paper diff --git a/manifest.json b/manifest.json index cea0d31d..02172d43 100644 --- a/manifest.json +++ b/manifest.json @@ -110,6 +110,7 @@ "*://*.dailymercury.com.au/*", "*://*.dailypress.com/*", "*://*.dailytelegraph.com.au/*", + "*://*.dallasnews.com/*", "*://*.darkreading.com/*", "*://*.demorgen.be/*", "*://*.denverpost.com/*", @@ -491,5 +492,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.1.2.3" + "version": "2.1.2.4" } \ No newline at end of file diff --git a/sites.js b/sites.js index 04613603..ae5b6666 100644 --- a/sites.js +++ b/sites.js @@ -224,6 +224,7 @@ var defaultSites = "The Business Journals": "bizjournals.com", "The Christian Science Monitor": "csmonitor.com", "The Daily Beast (free articles only)": "thedailybeast.com", + "The Dallas Morning News": "dallasnews.com", "The Denver Post": "denverpost.com", "The Diplomat": "thediplomat.com", "The Economist": "economist.com", diff --git a/version.js b/version.js index 6ce5832d..d49f1c6f 100644 --- a/version.js +++ b/version.js @@ -8,8 +8,10 @@ versionString_new.setAttribute('style', 'font-weight: bold;'); var anchorEl; const proxyurl = "https://bpc-cors-anywhere.herokuapp.com/"; -const manifest_new = 'https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/manifest.json'; -fetch(proxyurl + manifest_new, { headers: { "Content-Type": "application/json", "X-Requested-With": "XMLHttpRequest" } }) +//const manifest_new = 'https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/manifest.json'; +const manifest_new = 'https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/raw/master/manifest.json'; +//fetch(proxyurl + manifest_new, { headers: { "Content-Type": "application/json", "X-Requested-With": "XMLHttpRequest" } }) +fetch(manifest_new) .then(response => { if (response.ok) { response.json().then(json => {