Add americanbanker.com, update version

master
ghost 2019-05-12 22:27:15 -07:00
parent 880e707cd5
commit 6bf9f62860
6 changed files with 21 additions and 4 deletions

View File

@ -15,6 +15,7 @@ Notes:
### Bypass the following sites' paywalls with this extension:
American Banker (americanbanker.com)\
Baltimore Sun (baltimoresun.com)\
Barron's (barrons.com)\
Bloomberg (bloomberg.com)\
@ -92,8 +93,13 @@ Usually premium articles cannot be bypassed as they are behind a hard paywall.
### Troubleshooting
* This extension works best alongside [uBlock Origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm).
* On some sites if you open an article and the paywall comes up try refreshing the page.
* For The Denver Post turn off uBlock.
* If a site doesn't work try turning off uBlock and refreshing.
### Pull Requesets
* PRs are welcome.
### Show your support
* I am not asking for donations or anything like that, all I ask is that you star this repo.
### License
Bypass Paywalls is [MIT-licensed](https://github.com/iamadamdev/bypass-paywalls-chrome/blob/master/LICENSE).

View File

@ -1,6 +1,7 @@
'use strict';
var defaultSites = {
'American Banker': 'americanbanker.com',
'Baltimore Sun': 'baltimoresun.com',
'Barron\'s': 'barrons.com',
'Bloomberg': 'bloomberg.com',

View File

@ -16,3 +16,12 @@ if (location.hostname.endsWith('rep.repubblica.it')) {
}
}
}
if (window.location.href.indexOf("americanbanker.com") !== -1) {
const paywall = document.getElementsByClassName(
"embargo-content"
);
if (paywall && paywall.length>0 ) {
paywall[0].className = "";
}
}

View File

@ -20,5 +20,5 @@
"page": "options.html"
},
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
"version": "1.4.9"
"version": "1.5.0"
}

View File

@ -1,4 +1,5 @@
var defaultSites = {
'American Banker': 'americanbanker.com',
'Baltimore Sun': 'baltimoresun.com',
'Barron\'s': 'barrons.com',
'Bloomberg': 'bloomberg.com',

View File

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='dcpihecpambacapedldabdbpakmachpb'>
<updatecheck codebase='https://github.com/iamadamdev/bypass-paywalls-chrome/releases/download/v1.4.9/bypass-paywalls-chrome.crx' version='1.4.9' />
<updatecheck codebase='https://github.com/iamadamdev/bypass-paywalls-chrome/releases/download/v1.5.0/bypass-paywalls-chrome.crx' version='1.5.0' />
</app>
</gupdate>