Add The New Atlantis

master
magnolia1234 2021-04-28 09:14:33 +02:00
parent 51acb993b8
commit f606a9617e
7 changed files with 53 additions and 7 deletions

View File

@ -26,8 +26,8 @@ In extension developer mode you can always install BPC by `Load unpacked` (lates
5. Enable Developer Mode.
6. Click `Load unpacked` and select the extension folder.
* by default BPC has limited permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for non-listed sites).
* in Chrome/Opera/Brave to disable the developer mode extensions popup use the extensions toolbar menu (by default enabled in Chrome 87+ or (if available) enable (experimental) chrome flag: chrome://flags/#extensions-toolbar-menu)
* By default BPC has limited permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for non-listed sites).
* In Chrome/Opera/Brave to disable the developer mode extensions popup use the extensions toolbar menu (by default enabled in Chrome 87+ or (if available) enable (experimental) chrome flag: chrome://flags/#extensions-toolbar-menu)
If you're familiar with Git(Hub)-clients you can also clone this repo and update the extension that way (load unpacked folder used by Git(Hub)-client).
@ -37,10 +37,10 @@ If you're familiar with Git(Hub)-clients you can also clone this repo and update
1. Download the extension as a crx-file from the [releases page](https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/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.
5. If dragging crx-file does not work, try Chrome procedure (above).
4. Drag your crx-file anywhere on the page to import it (when old 'load unpacked' installation, first remove it and backup your custom sites).
5. If dragging crx-file does not work, try 'load unpacked' installation (above).
* by default BPC has limited permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for non-listed sites).
* By default BPC has limited permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for non-listed sites).
* In Windows 'whitelist' BPC (run as administrator one of the reg-files in [whitelist-downloads](https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/tree/master/whitelist)
If you already have 'whitelisted' extensions than you should change "1" to a new key (also change name of HLM-key for beta/developer versions of browsers).
Example Chrome-regfile:
@ -155,6 +155,7 @@ _* free articles only._
[The Art Newspaper](https://www.theartnewspaper.com) -
[The Athletic](https://theathletic.com) -
[The Daily Beast](https://www.thedailybeast.com)* -
[The New Atlantis](https://www.thenewatlantis.com) -
[The Point Magazine](https://thepointmag.com) -
[Vanity Fair](https://www.vanityfair.com) -
[Variety](https://variety.com) -
@ -238,7 +239,7 @@ Tribune Publishing Company sites like
[London Review of Books](https://www.lrb.co.uk) -
[New Left Review](https://newleftreview.org) -
[Prospect Magazine](https://www.prospectmagazine.co.uk) -
[The Athletic UK](https://theathletic.com) -
[The Athletic UK](https://theathletic.co.uk) -
[The Economist](https://www.economist.com) -
[The Irish Times](https://www.irishtimes.com) -
[The New Statesman](https://www.newstatesman.com) -

View File

@ -150,6 +150,7 @@ var allow_cookies_default = [
'thehindu.com',
'thehindubusinessline.com',
'themarker.com',
'thenewatlantis.com',
'thewest.com.au',
'time.com',
'timeshighereducation.com',
@ -380,6 +381,7 @@ var blockedRegexes = {
'thehindu.com': /(cdn\.cxense\.com\/|\.tinypass\.com\/)/,
'thehindubusinessline.com': /(cdn\.cxense\.com\/|\.tinypass\.com\/)/,
'thenation.com': /\.tinypass\.com\//,
'thenewatlantis.com': /\.thenewatlantis\.com\/.+\/thenewatlantis\/js\/(gate|donate)\.js/,
'time.com': /\/time\.com\/dist\/meter-wall-client-js\..+\.js/,
'timeshighereducation.com': /\.timeshighereducation\.com\/sites\/default\/files\/js\/js_bbCGL.+\.js/,
'valeursactuelles.com': /\.qiota\.com\//,

View File

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Chrome
Post-release
Add The New Atlantis
* v2.1.8.0 (2021-04-25)
Add Il Giorno (Italy)

View File

@ -2209,6 +2209,12 @@ else if (matchDomain('thelogic.co')) {
removeDOMElement(article_subscribe);
}
else if (matchDomain('thenewatlantis.com')) {
let article_gated = document.querySelector('.article-gated');
if (article_gated)
article_gated.classList.remove('article-gated');
}
else if (matchDomain('thepointmag.com')) {
let overlay = document.querySelectorAll('div.overlay, div#tpopup-');
for (let elem of overlay)

34
custom/manifest.json Normal file
View File

@ -0,0 +1,34 @@
{
"background": {
"scripts": ["sites.js", "bpc_count_daily_users.js", "background.js"]
},
"content_security_policy": "script-src 'self'; object-src 'self'",
"browser_action": {
"default_popup": "options/popup.html"
},
"description": "Bypass Paywalls of news sites",
"homepage_url": "https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/blob/master/README.md",
"icons": {
"128": "bypass.png"
},
"manifest_version": 2,
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvLxf4oOeSoz8qKVzKGQWW5zW44hWCoOoQRGXTrObUpyoGfGzhFO8aZHQmBcLrAZMA4O6EA7GaXnHkOPCLKM11seZ4J2azb1gSswApfAlaoeOLnhDnp/Jpzz7Bt6o4HL+nhKRJUOZ9z+GXAyOkOps5O38TwJN5R6z8tLkleRgfYscp19YU/vq1x9PrbXIHJTRB7qtb/iJmiKATKisXGmFY3Nbs5m379TGqcJFBM9bI+8bSJtS4e7t0LHOwSLDq3IVRaWVsFd9P19WEDNTxuzr9+rczOrw1vgmiisNOcElse8cyVIoq4bjepvfHM/9nzDgKwQsNG5OTzujwHu2UUN4cwIDAQAB",
"name": "Bypass Paywalls Clean",
"update_url": "https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/raw/master/updates.xml",
"short_name": "Bypass Paywall",
"options_ui": {
"chrome_style": true,
"open_in_tab": true,
"page": "options/options.html"
},
"incognito": "split",
"permissions": [
"cookies",
"storage",
"tabs",
"webRequest",
"webRequestBlocking",
"<all_urls>"
],
"version": "2.1.8.1"
}

View File

@ -408,6 +408,7 @@
"*://*.themercury.com.au/*",
"*://*.themorningbulletin.com.au/*",
"*://*.thenation.com/*",
"*://*.thenewatlantis.com/*",
"*://*.thepeterboroughexaminer.com/*",
"*://*.thepointmag.com/*",
"*://*.therecord.com/*",
@ -490,5 +491,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.1.8.0"
"version": "2.1.8.1"
}

View File

@ -252,6 +252,7 @@ var defaultSites =
"The Marker": "themarker.com",
"The Mercury News": "mercurynews.com",
"The Nation": "thenation.com",
"The New Atlantis": "thenewatlantis.com",
"The New Republic": "newrepublic.com",
"The New Statesman": "newstatesman.com",
"The New York Review of Books": "nybooks.com",