Add americanbanker.com, update version
This commit is contained in:
parent
880e707cd5
commit
6bf9f62860
10
README.md
10
README.md
@ -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).
|
||||
|
@ -1,6 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
var defaultSites = {
|
||||
'American Banker': 'americanbanker.com',
|
||||
'Baltimore Sun': 'baltimoresun.com',
|
||||
'Barron\'s': 'barrons.com',
|
||||
'Bloomberg': 'bloomberg.com',
|
||||
|
@ -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 = "";
|
||||
}
|
||||
}
|
@ -20,5 +20,5 @@
|
||||
"page": "options.html"
|
||||
},
|
||||
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
|
||||
"version": "1.4.9"
|
||||
"version": "1.5.0"
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
var defaultSites = {
|
||||
'American Banker': 'americanbanker.com',
|
||||
'Baltimore Sun': 'baltimoresun.com',
|
||||
'Barron\'s': 'barrons.com',
|
||||
'Bloomberg': 'bloomberg.com',
|
||||
|
@ -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>
|
Loading…
x
Reference in New Issue
Block a user