Move local newspapers to custom & add special characters in sites.json

* special characters in sites.json
*Move to sites_custom.js: Orlando Sentinel (151,000 daily prints), Sun-Sentinel (163,000) San Diego Union-Tribune (121,000), The News-Gazette, The Morning Call, mexiconewsdaily, L.A. Business Journal, baltimore sun, Crain's Chicago Business, l'écho,  Winston-Salem Journal, Eindhovens Dagblad, The Examiner, etc.
* remove the two screenshots & changelog.txt (obsolete)
* instructions for Opera/Vivaldi/Brave/Chromium browsers & link to Firefox
* Updates README.md
This commit is contained in:
frantzkamus 2020-01-01 20:27:05 +01:00 committed by magnolia1234
parent 68842b3470
commit e54c7b422a
12 changed files with 169 additions and 193 deletions

View File

@ -1,21 +1,22 @@
# Bypass Paywalls for Chrome
<p align="center">
<a href="https://github.com/iamadamdev/bypass-paywalls-chrome/blob/master/README.md">
<img width="150" src="bypass.png"></a>
<img max-width="100%" height="auto" src="icon.png"></a>
</p>
# Bypass Paywalls for Chrome
* [Installation instructions](#installation-instructions)
* [List of supported websites](#bypass-the-following-sites-paywalls-with-this-extension)
* [Sites with limited number of free articles](#sites-with-limited-number-of-free-articles)
* [Sites with limited number of free articles](#list-of-supported-websites)
* [New site requests](#new-site-requests)
* [Troubleshooting](#troubleshooting)
* [Changelog](#changelog)
* [Pull Requests](#pull-requests)
* [Show your support](#show-your-support)
* [License](#license)
### Installation instructions
#### Windows/MacOS/Linux
#### Chrome (Windows/MacOS/Linux)
1. Download this repo as a [ZIP file from GitHub](https://github.com/iamadamdev/bypass-paywalls-chrome/archive/master.zip).
2. Unzip the file and you should have a folder named `bypass-paywalls-chrome-master`.
3. Move the folder to a permanent location on your computer (do not delete the folder after installation).
@ -24,26 +25,31 @@
6. Drag the `bypass-paywalls-chrome-master` folder anywhere on the page to import it.
#### Android
1. Install [Yandex Browser](https://play.google.com/store/apps/details?id=com.yandex.browser&hl=en) from the Google PlayStore.
2. Download this repo as a [ZIP file from GitHub](https://github.com/iamadamdev/bypass-paywalls-chrome/archive/master.zip).
1. Install [Yandex Browser](https://play.google.com/store/apps/details?id=com.yandex.browser&hl=en) from the Google PlayStore (Bypass Paywalls doesn't work with Kiwi Browser yet).
2. Download this repo as a [ZIP file from GitHub](https://github.com/iamadamdev/bypass-paywalls-chrome/archive/master.zip). Extract the file (do not delete the folder after installation).
3. In Yandex go to the extensions page (`browser://extensions`).
4. Turn on the Developer Mode by checking the box.
5. Tap `Load unpacked extension`.
6. Find your extension folder and pick `manifest.json`.
#### Opera/Vivaldi/Brave/Chromium browsers
1. Download the extension as a .crx file from the [releases page](https://github.com/iamadamdev/bypass-paywalls-chrome/releases).
2. In your browser go to the extensions page.
3. Enable Developer Mode.
4. Drag your .crx file anywhere on the page to import it.
#### Firefox
Visit the [Firefox repository](https://github.com/iamadamdev/bypass-paywalls-firefox) of Bypass Paywall.
**Notes**
* Do not delete extension's folder from your computer/smartphone, or Bypass Paywalls will disappear at restart.
* This extension works best along side the adblocker [uBlock Origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en).
* Do not delete extension's folder from your computer/smartphone or Bypass Paywalls will disappear at restart.
* Every time you open Chrome it may warn you about running extensions in developer mode, just click 🗙 to keep the extension enabled.
* You will be logged out for any site you have checked.
* This extension works best along side the adblocker [uBlock Origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en).
* With uBlock installed, [subscribe](https://www.fanboy.co.nz/filters.html) to the Fanboy's Enhanced Tracking List to block scripts from various paywall services (click `Add Enhanced Tracking list`).
### Bypass the following sites' paywalls with this extension
### List of supported websites
[Algemeen Dagblad](https://www.ad.nl)\
[American Banker](https://www.americanbanker.com)\
[Baltimore Sun](https://www.baltimoresun.com)\
[Barron's](https://www.barrons.com)\
[Bloomberg](https://www.bloomberg.com)\
[Bloomberg Quint](https://www.bloombergquint.com)\
@ -51,15 +57,11 @@
[Caixin Global](https://www.caixinglobal.com)\
[Chicago Tribune](https://www.chicagotribune.com)\
[Corriere Della Sera](https://www.corriere.it)\
[Crain's Chicago Business](https://www.chicagobusiness.com)\
[Dagens Nyheter](https://www.dn.se)\
[Daily Press](https://www.dailypress.com)\
[DeMorgen](https://www.demorgen.be)\
[Denver Post](https://www.denverpost.com)\
[Eindhovens Dagblad](https://www.ed.nl)\
[Encyclopedia Britannica](https://www.britannica.com)\
[ET Prime](https://prime.economictimes.indiatimes.com/)\
[Examiner](https://www.examiner.com.au)\
[Financial News](https://www.fnlondon.com)\
[Financial Times](https://www.ft.com)\
[First Things](https://www.firstthings.com)\
@ -73,8 +75,6 @@
[Hartford Courant](https://www.courant.com)\
[Harvard Business Review](https://www.hbr.org)\
[Inc.com](https://www.inc.com)\
[L'Écho](https://www.lecho.be)\
[L.A. Business Journal](https://labusinessjournal.com)\
[La Nación](https://www.lanacion.com.ar)\
[La Repubblica](https://www.repubblica.it)\
[La Tercera](https://www.latercera.com)\
@ -86,7 +86,6 @@
[London Review of Books](https://www.lrb.co.uk)\
[Los Angeles Times](https://www.latimes.com)\
[Medium](https://www.medium.com)\
[Mexicon News Daily](https://mexiconewsdaily.com)\
[MIT Sloan Management Review](https://sloanreview.mit.edu)\
[MIT Technology Review](https://www.technologyreview.com)\
[National Post](https://www.nationalpost.com)\
@ -94,18 +93,15 @@
[New Zealand Herald](https://www.nzherald.co.nz)\
[Nikkei Asian Review](https://asia.nikkei.com)\
[NRC Handelsblad](https://www.nrc.nl)\
[Orlando Sentinel](https://www.orlandosentinel.com)\
[Parool](https://www.parool.nl)\
[Quartz](https://qz.com)\
[Quora](https://www.quora.com)\
[San Diego Union Tribune](https://www.sandiegouniontribune.com)\
[San Francisco Chronicle](https://www.sfchronicle.com)\
[Scientific American](https://www.scientificamerican.com)\
[Scribd](http://scribd.com)\
[SOFREP](https://sofrep.com)\
[Statista](https://www.statista.com)\
[SunSentinel](https://www.sun-sentinel.com)\
[Tech in Asia] (https://www.techinasia.com)\
[Tech in Asia](https://www.techinasia.com)\
[Telegraaf](https://www.telegraaf.nl)\
[The Advocate](https://www.theadvocate.com.au)\
[The Age](https://www.theage.com.au)\
@ -116,6 +112,7 @@
[The Boston Globe](https://www.bostonglobe.com)\
[The Business Journals](https://www.bizjournals.com)\
[The Canberra Times](https://www.canberratimes.com.au)\
[The Denver Post](https://www.denverpost.com)\
[The Diplomat](https://www.thediplomat.com)\
[The Economist](https://www.economist.com)\
[The Globe and Mail](https://www.theglobeandmail.com)\
@ -124,12 +121,10 @@
[The Japan Times](https://www.japantimes.co.jp)\
[The Marker](https://www.themarker.com)\
[The Mercury News](https://www.mercurynews.com)\
[The Morning Call](https://www.mcall.com)\
[The Nation](https://www.thenation.com)\
[The New Statesman](https://www.newstatesman.com)\
[The New York Times](https://www.nytimes.com)\
[The New Yorker](https://www.newyorker.com)\
[The News-Gazette](https://www.news-gazette.com)\
[The Philadelphia Inquirer](https://www.inquirer.com)\
[The Seattle Times](https://www.seattletimes.com)\
[The Spectator](https://www.spectator.co.uk)\
@ -145,9 +140,10 @@
[Vanity Fair](https://www.vanityfair.com)\
[Volkskrant](https://www.volkskrant.nl)\
[Vrij Nederland](https://www.vn.nl)\
[Winston-Salem Journal](https://journalnow.com)\
[Wired](https://www.wired.com)
More websites (specialized or local newspapers) are available in the [custom list](https://raw.githubusercontent.com/magnolia1234/bypass-paywalls-chrome/master/sites_custom.json) of the extension (select those you want to use in options).
### Sites with limited number of free articles
The free article limit can normally be bypassed by removing cookies for the site.*
@ -161,9 +157,13 @@ _*May not always succeed_
Only large or major sites will be considered.
1. Visit an article on the site you want to bypass the paywall for and copy the article title.
2. Open up a new incognito window (Ctrl+Shift+N) and paste the article title into Google.
3. Click on the same article from the Google search results page. If it loads without a paywall you can [submit a request](https://github.com/iamadamdev/bypass-paywalls-chrome/issues/new) to add the site, otherwise my extension cannot bypass it either.
3. Click on the same article from the Google search results page. Or you can:
1. Disable javascript on the website by clicking the botton right icon `</>` on the uBlock panel.
2. Refresh the page.
Usually premium articles cannot be bypassed as they are behind a hard paywall.
If it loads without a paywall you can [submit a request](https://github.com/iamadamdev/bypass-paywalls-chrome/issues/new) to add the site, otherwise my extension cannot bypass it either.
Usually premium articles cannot be bypassed as they are behind a hard paywall. Please see for [previous requests](https://github.com/iamadamdev/bypass-paywalls-chrome/issues?q=is%3Aissue) before asking for a new website to be added.
### Troubleshooting
* This extension works best alongside [uBlock Origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm).
@ -172,6 +172,9 @@ Usually premium articles cannot be bypassed as they are behind a hard paywall.
* Make sure you're running the last version of Bypass Paywalls.
* If none of these work, you can submit an issue [here](https://github.com/iamadamdev/bypass-paywalls-chrome/issues).
### Changelog
Visit the [releases page](https://github.com/iamadamdev/bypass-paywalls-chrome/releases).
### Pull Requests
* PRs are welcome.

View File

@ -83,7 +83,6 @@ var blockedRegexes = {
'nzherald.co.nz': /nzherald\.co\.nz\/.+\/headjs\/.+\.js/,
'businessinsider.com': /(.+\.tinypass\.com\/.+|cdn\.onesignal\.com\/sdks\/.+\.js)/,
'bostonglobe.com': /meter\.bostonglobe\.com\/js\/.+/
};
/** obsolete
'economist.com': /.+\.tinypass\.com\/.+/,
@ -205,7 +204,7 @@ chrome.webRequest.onBeforeRequest.addListener(function(details) {
},
{
urls: ["*://*.thestar.com/*", "*://*.theglobeandmail.com/*", "*://*.afr.com/*",
"*://*.tinypass.com/*", "*://assets.poool.fr/*"],
"*://*.tinypass.com/*", "*://*.poool.fr/*"],
types: ["script"]
},
["blocking"]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 KiB

View File

@ -1,28 +0,0 @@
Updates--
2018-11-11 v1.3.5: No longer updating changelog in favor of git log
2018-10-07 v1.3.4: Fixed hbr.org, fixed medium.com, removed medscape.com
2018-10-07 v1.3.3: Fixed haaretz.co.il
2018-10-02 v1.3.2: Added The Advocate(theadvocate.com.au), added Examiner (examiner.com.au)
2018-09-16 v1.3.1: Removed Het Financieele Dagblad (fd.nl)
2018-09-09 v1.3.0: Fixed chicagobusiness.com
2018-09-06 v1.2.11: Add Dynamed Plus
2018-08-26 v1.2.10: Fixed alphabeticised lists, Added The New Statesman and The Spectator
2018-07-04 v1.2.9: Added The Denver Post (denverpost.com, note: need to turn off uBlock for this site)
2018-06-26 v1.2.8: Bug fixes (washingtonpost.com)
2018-06-08 v1.2.7: Added Wired (wired.com)
2018-05-20 v1.2.6: Added TheMarker (themarker.com)
2018-05-12 v1.2.5: Fixed Boston Globe (bostonglobe.com)
2018-05-10 v1.2.4: Fixed redirect issue
2018-05-05 v1.2.3: Added Bloomberg (bloomberg.com)
2018-04-23 v1.2.2: Added the English Version of Haaretz website (haaretz.com)
2018-04-07 v1.2.1: Open Source'd Bypass Paywalls! Fixed The Economist (economist.com)
2018-04-05 v1.2.0: added Corriere Della Sera (corriere.it), added Dagens Nyheter (dn.se), fixed The Age (theage.com.au)
2018-01-30 v1.0.7: Added Medium (medium.com), added The Boston Globe (bostonglobe.com), added The Mercury News (mercurynews.com), removed The Australian (theaustralian.com.au), removed The Courier Mail (couriermail.com.au), removed The Telegraph (telegraph.co.uk)
2017-09-14 v1.06: Added back Barron's, added Het Financieele Dagblad (fd.nl), added Le Temps (letemps.ch), added Haaretz (haaretz.co.il)
2017-07-15 v1.05: removed Barron's as the google redirect no longer works
2017-04-16: Added MIT Technology Review (technologyreview.com), NRC (nrc.nl), The Courier Mail (couriermail.com.au).
2017-04-05: Added 'Nikkei Asian Review'.
2017-02-25: If you are trying to view NYT articles or tired of the WSJ popup, try installing an adblocker (I recommend 'uBlock Origin').
2017-02-16: Added 'The Australian'.
2017-02-09: WSJ working again (bypass paywall)! Also added glassdoor, nytimes, seattletimes.

View File

@ -7,7 +7,7 @@ if (!localstorage_hold){
window.localStorage.clear();
}
// Workarounds/domain
// Content workarounds/domain
if (location.hostname.endsWith('rep.repubblica.it')) {
if (location.href.includes('/pwa/')) {
location.href = location.href.replace('/pwa/', '/ws/detail/');
@ -72,7 +72,9 @@ if (window.location.href.indexOf("wsj.com") !== -1) {
}
if (window.location.href.indexOf("sloanreview.mit.edu") !== -1) {
document.querySelector('#cboxClose').click();
const read_more = document.querySelector('.btn-read-more');
if(read_more)
read_more.click();
}
if (window.location.href.indexOf("mexiconewsdaily.com") !== -1) {
@ -81,7 +83,6 @@ if (window.location.href.indexOf("mexiconewsdaily.com") !== -1) {
const subMessage = document.querySelector('.sub_message_container');
const popup = document.querySelector('.popupally-pro-outer-full-width-7-fluid_qemskqa');
const bgFocusRemoverId = document.getElementById('popup-box-pro-gfcr-7');
removeDOMElement(sideNotification, subMessage, popup, bgFocusRemoverId);
});
}
@ -174,7 +175,7 @@ if (window.location.href.indexOf("canberratimes.com.au") !== -1) {
}
if (window.location.href.indexOf("ledevoir.com") !== -1) {
const counter = document.querySelector('.full.hidden-print.popup-msg');
const counter = document.querySelector('.popup-msg');
removeDOMElement(counter);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

View File

Before

Width:  |  Height:  |  Size: 693 B

After

Width:  |  Height:  |  Size: 693 B

View File

@ -9,7 +9,7 @@
"description": "Bypass News Sites' Paywalls",
"homepage_url": "https://github.com/iamadamdev/bypass-paywalls-chrome/blob/master/README.md",
"icons": {
"128": "bypass.png"
"128": "icon.png"
},
"manifest_version": 2,
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3PRmcRnHFZwHUlCgoTAdBjc9nUjmJo8l8kvkl/OZV6biZFAGUQGdxF1xoGhRccWA7qfQrZdPwcM1VQoVS/1F+87XiutKTe/HNsTAFvOcVS0tjCSH6DOHpewkMUBZujwTIeo7UXUVmCPQ1UbVd6m8KmHYtSHYlaX0uXRcguWhLmO5hASxw4onvAD0uql/t/ntxsIATwn4hVApg0VZhy0QAbMany8/5ByKPa19mCQwsIdRkcpG+PNHTLWPDgeGoDL7S0DxIduraRhTlrDX/zy5ETu6NWq6r+/jRzmXAjx+vSDCU5Ps2YG8QwdCL4Zl+CNVdQrnqz4X1zfPFJ1FFmUSpwIDAQAB",

View File

@ -13,24 +13,24 @@
</style>
</head>
<body>
<h1>Options | <small><span id="version"></span></small></h1>
<div>
Selected sites will have their cookies cleared and referer set to Google. You should
uncheck sites you have an account with or else you will be logged out at every visit.
</div>
<br/>
<div id='bypass_sites'>
</div>
<div id='bypass_sites'></div>
<br/>
<div id="status"></div>
<div id="error"></div>
<br/>
<span style='float:left;'>
<span style='float:left;padding-bottom:5px'>
<button id="save">Save</button>
</span>
<span style='float:right;'>
<span style='float:right;padding-bottom:5px'>
<button id="select-all">Select all</button>
<button id="select-none">Select none</button>
</span>
<script src="options.js"></script>
<script src="version.js"></script>
</body>
</html>

View File

@ -32,6 +32,7 @@ function save_options() {
});
}
//Fetch sites.json & sites_custom.json
function renderOptions() {
const url_sites = chrome.runtime.getURL('sites.json');
fetch(url_sites)

View File

@ -1,23 +1,18 @@
{
"Algemeen Dagblad": "ad.nl",
"American Banker": "americanbanker.com",
"Baltimore Sun": "baltimoresun.com",
"Barron's": "barrons.com",
"Bloomberg": "bloomberg.com",
"Bloomberg Quint": "bloombergquint.com",
"Bloomberg Quint (free articles only)": "bloombergquint.com",
"Business Insider": "businessinsider.com",
"Caixin Global": "caixinglobal.com",
"Chicago Tribune": "chicagotribune.com",
"Corriere Della Sera": "corriere.it",
"Crain's Chicago Business": "chicagobusiness.com",
"Dagens Nyheter (free articles only)": "dn.se",
"Daily Press": "dailypress.com",
"DeMorgen": "demorgen.be",
"Denver Post": "denverpost.com",
"Eindhovens Dagblad": "ed.nl",
"Encyclopedia Britannica": "britannica.com",
"ET Prime": "prime.economictimes.indiatimes.com",
"Examiner": "examiner.com.au",
"Financial News": "fnlondon.com",
"Financial Times": "ft.com",
"First Things": "firstthings.com",
@ -31,20 +26,17 @@
"Hartford Courant": "courant.com",
"Harvard Business Review": "hbr.org",
"Inc.com": "inc.com",
"L'Echo": "lecho.be",
"La Nacion": "lanacion.com.ar",
"La Nación": "lanacion.com.ar",
"La Repubblica": "repubblica.it",
"La Tercera": "latercera.com",
"Le Devoir": "ledevoir.com",
"Le Monde": "lemonde.fr",
"Le Parisien": "leparisien.fr",
"Les Echos": "lesechos.fr",
"Les Échos": "lesechos.fr",
"Loeb Classical Library": "loebclassics.com",
"London Review of Books": "lrb.co.uk",
"Los Angeles Business Journal": "labusinessjournal.com",
"Los Angeles Times": "latimes.com",
"Medium (all sites)": "medium.com",
"Mexico News Daily": "mexiconewsdaily.com",
"MIT Sloan Management Review": "sloanreview.mit.edu",
"MIT Technology Review": "technologyreview.com",
"National Post": "nationalpost.com",
@ -52,17 +44,14 @@
"New Zealand Herald": "nzherald.co.nz",
"Nikkei Asian Review": "asia.nikkei.com",
"NRC Handelsblad": "nrc.nl",
"OrlandoSentinel": "orlandosentinel.com",
"Parool": "parool.nl",
"Quartz": "qz.com",
"Quora": "quora.com",
"San Diego Union Tribune": "sandiegouniontribune.com",
"San Francisco Chronicle": "sfchronicle.com",
"Scientific American (free articles only)": "scientificamerican.com",
"Scribd (documents only)": "scribd.com",
"SOFREP": "sofrep.com",
"Statista": "statista.com",
"SunSentinel": "sun-sentinel.com",
"Tech in Asia": "techinasia.com",
"Telegraaf": "telegraaf.nl",
"The Advocate": "theadvocate.com.au",
@ -74,6 +63,7 @@
"The Boston Globe": "bostonglobe.com",
"The Business Journals": "bizjournals.com",
"The Canberra Times": "canberratimes.com.au",
"The Denver Post": "denverpost.com",
"The Diplomat": "thediplomat.com",
"The Economist": "economist.com",
"The Globe and Mail (javascript disabled)": "theglobeandmail.com",
@ -82,12 +72,10 @@
"The Japan Times": "japantimes.co.jp",
"The Marker": "themarker.com",
"The Mercury News": "mercurynews.com",
"The Morning Call": "mcall.com",
"The Nation": "thenation.com",
"The New Statesman": "newstatesman.com",
"The New York Times": "nytimes.com",
"The New Yorker": "newyorker.com",
"The News-Gazette": "news-gazette.com",
"The Philadelphia Inquirer": "inquirer.com",
"The Seattle Times": "seattletimes.com",
"The Spectator": "spectator.co.uk",
@ -103,9 +91,8 @@
"Vanity Fair": "vanityfair.com",
"Volkskrant": "volkskrant.nl",
"Vrij Nederland": "vn.nl",
"Winston-Salem Journal": "journalnow.com",
"Wired": "wired.com",
"----- Block Paywall-scripts -----": "",
"Poool.fr": "assets.poool.fr",
"——— Block Paywall-scripts ———": "",
"Poool.fr": "poool.fr",
"TinyPass/Piano": "tinypass.com"
}

View File

@ -1,11 +1,24 @@
{
"----- Custom Sites (updates) -----": "",
"——— Custom Sites (updates) ——": "",
"American Affairs": "americanaffairsjournal.org",
"Baltimore Sun": "baltimoresun.com",
"Crain's Chicago Business": "chicagobusiness.com",
"Eindhovens Dagblad": "ed.nl",
"Dark Reading": "darkreading.com",
"L'Écho": "lecho.be",
"Los Angeles Business Journal": "labusinessjournal.com",
"Mexico News Daily": "mexiconewsdaily.com",
"OrlandoSentinel": "orlandosentinel.com",
"Pittsburgh Post Gazette": "post-gazette.com",
"San Diego Union Tribune": "sandiegouniontribune.com",
"SunSentinel": "sun-sentinel.com",
"The Examiner (free articles only)": "examiner.com.au",
"The Morning Call": "mcall.com",
"The News-Gazette": "news-gazette.com",
"The Sacramento Bee (free articles only)": "sacbee.com",
"Tubantia": "tubantia.nl",
"----- Block Paywall-scripts -----": "",
"Poool.fr": "assets.poool.fr",
"Winston-Salem Journal": "journalnow.com",
"——— Block Paywall-scripts ———": "",
"Poool.fr": "poool.fr",
"TinyPass/Piano": "tinypass.com"
}