Fix Bloomberg/Haaretz.com/Nikkei Asian Review (banners) + readme update
Remove sticky subscription/page counter banners on Bloomberg, Asia Nikkei & Haaretz.com. Add 'don't remove the extension's folder after installation' in readme.md Deprecate Dynamed dn.se (free articles only)
This commit is contained in:
parent
7797a8465e
commit
95170ed70b
@ -18,9 +18,10 @@
|
|||||||
#### Windows/MacOS/Linux
|
#### Windows/MacOS/Linux
|
||||||
1. Download this repo as a [ZIP file from GitHub](https://github.com/iamadamdev/bypass-paywalls-chrome/archive/master.zip).
|
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`.
|
2. Unzip the file and you should have a folder named `bypass-paywalls-chrome-master`.
|
||||||
3. In Chrome go to the extensions page (`chrome://extensions`).
|
3. Move the folder to a permanent location on your computer (do not delete the folder after installation).
|
||||||
4. Enable Developer Mode.
|
4. In Chrome go to the extensions page (`chrome://extensions`).
|
||||||
5. Drag the `bypass-paywalls-chrome-master` folder anywhere on the page to import it (do not delete the folder afterwards).
|
5. Enable Developer Mode.
|
||||||
|
6. Drag the `bypass-paywalls-chrome-master` folder anywhere on the page to import it.
|
||||||
|
|
||||||
#### Android
|
#### Android
|
||||||
|
|
||||||
@ -32,6 +33,7 @@
|
|||||||
6. Find your extension folder and pick `manifest.json`.
|
6. Find your extension folder and pick `manifest.json`.
|
||||||
|
|
||||||
**Notes**
|
**Notes**
|
||||||
|
* 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.
|
* 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.
|
* 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).
|
* This extension works best along side the adblocker [uBlock Origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en).
|
||||||
@ -56,7 +58,6 @@
|
|||||||
[De Volkskrant](https://www.volkskrant.nl)\
|
[De Volkskrant](https://www.volkskrant.nl)\
|
||||||
[DeMorgen](https://www.demorgen.be)\
|
[DeMorgen](https://www.demorgen.be)\
|
||||||
[Denver Post](https://www.denverpost.com)\
|
[Denver Post](https://www.denverpost.com)\
|
||||||
[Dynamed Plus](https://www.dynamed.com)\
|
|
||||||
[Eindhovens Dagblad](https://www.ed.nl)\
|
[Eindhovens Dagblad](https://www.ed.nl)\
|
||||||
[Encyclopedia Britannica](https://www.britannica.com)\
|
[Encyclopedia Britannica](https://www.britannica.com)\
|
||||||
[ET Prime](https://prime.economictimes.indiatimes.com/)\
|
[ET Prime](https://prime.economictimes.indiatimes.com/)\
|
||||||
|
@ -21,7 +21,6 @@ var defaultSites = {
|
|||||||
'De Volkskrant': 'volkskrant.nl',
|
'De Volkskrant': 'volkskrant.nl',
|
||||||
'DeMorgen': 'demorgen.be',
|
'DeMorgen': 'demorgen.be',
|
||||||
'Denver Post': 'denverpost.com',
|
'Denver Post': 'denverpost.com',
|
||||||
'Dynamed Plus': 'dynamed.com',
|
|
||||||
'Eindhovens Dagblad': 'ed.nl',
|
'Eindhovens Dagblad': 'ed.nl',
|
||||||
'Encyclopedia Britannica': 'britannica.com',
|
'Encyclopedia Britannica': 'britannica.com',
|
||||||
'ET Prime': 'prime.economictimes.indiatimes.com',
|
'ET Prime': 'prime.economictimes.indiatimes.com',
|
||||||
|
@ -7,6 +7,7 @@ if (!localstorage_hold){
|
|||||||
window.localStorage.clear();
|
window.localStorage.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Workarounds/domain
|
||||||
if (location.hostname.endsWith('rep.repubblica.it')) {
|
if (location.hostname.endsWith('rep.repubblica.it')) {
|
||||||
if (location.href.includes('/pwa/')) {
|
if (location.href.includes('/pwa/')) {
|
||||||
location.href = location.href.replace('/pwa/', '/ws/detail/');
|
location.href = location.href.replace('/pwa/', '/ws/detail/');
|
||||||
@ -126,9 +127,9 @@ if (window.location.href.indexOf("bloomberg.com") !== -1) {
|
|||||||
if (fence){
|
if (fence){
|
||||||
fence.classList.remove('fence-body');
|
fence.classList.remove('fence-body');
|
||||||
}
|
}
|
||||||
const paywall = document.getElementById('paywall-banner');
|
|
||||||
removeDOMElement(paywall);
|
|
||||||
});
|
});
|
||||||
|
const banner = document.getElementById('paywall-banner');
|
||||||
|
removeDOMElement(banner);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.location.href.indexOf("bloombergquint.com") !== -1) {
|
if (window.location.href.indexOf("bloombergquint.com") !== -1) {
|
||||||
@ -284,6 +285,17 @@ if (window.location.href.indexOf("technologyreview.com") !== -1) {
|
|||||||
removeDOMElement(meter);
|
removeDOMElement(meter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (window.location.href.indexOf("haaretz.com") !== -1) {
|
||||||
|
const popup = document.querySelector('.footer-ruler');
|
||||||
|
removeDOMElement(popup);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (window.location.href.indexOf("asia.nikkei.com") !== -1) {
|
||||||
|
const popup = document.querySelector('.pw-widget--popup');
|
||||||
|
removeDOMElement(popup);
|
||||||
|
}
|
||||||
|
|
||||||
|
// General Functions
|
||||||
function removeDOMElement(...elements) {
|
function removeDOMElement(...elements) {
|
||||||
for (let element of elements) {
|
for (let element of elements) {
|
||||||
if (element)
|
if (element)
|
||||||
|
@ -11,12 +11,11 @@ var defaultSites = {
|
|||||||
'Chicago Tribune': 'chicagotribune.com',
|
'Chicago Tribune': 'chicagotribune.com',
|
||||||
'Corriere Della Sera': 'corriere.it',
|
'Corriere Della Sera': 'corriere.it',
|
||||||
'Daily Press': 'dailypress.com',
|
'Daily Press': 'dailypress.com',
|
||||||
'Dagens Nyheter': 'dn.se',
|
'Dagens Nyheter (free articles only)': 'dn.se',
|
||||||
'De Groene Amsterdammer': 'groene.nl',
|
'De Groene Amsterdammer': 'groene.nl',
|
||||||
'De Volkskrant': 'volkskrant.nl',
|
'De Volkskrant': 'volkskrant.nl',
|
||||||
'DeMorgen': 'demorgen.be',
|
'DeMorgen': 'demorgen.be',
|
||||||
'Denver Post': 'denverpost.com',
|
'Denver Post': 'denverpost.com',
|
||||||
'Dynamed Plus': 'dynamed.com',
|
|
||||||
'Encyclopedia Britannica': 'britannica.com',
|
'Encyclopedia Britannica': 'britannica.com',
|
||||||
'Eindhovens Dagblad': 'ed.nl',
|
'Eindhovens Dagblad': 'ed.nl',
|
||||||
'ET Prime': 'prime.economictimes.indiatimes.com',
|
'ET Prime': 'prime.economictimes.indiatimes.com',
|
||||||
@ -61,7 +60,7 @@ var defaultSites = {
|
|||||||
'San Diego Union Tribune': 'sandiegouniontribune.com',
|
'San Diego Union Tribune': 'sandiegouniontribune.com',
|
||||||
'San Francisco Chronicle': 'sfchronicle.com',
|
'San Francisco Chronicle': 'sfchronicle.com',
|
||||||
'Scientific American': 'scientificamerican.com',
|
'Scientific American': 'scientificamerican.com',
|
||||||
'Scribd (only on documents)': 'scribd.com',
|
'Scribd (documents only)': 'scribd.com',
|
||||||
'SOFREP': 'sofrep.com',
|
'SOFREP': 'sofrep.com',
|
||||||
'Statista': 'statista.com',
|
'Statista': 'statista.com',
|
||||||
'SunSentinel': 'sun-sentinel.com',
|
'SunSentinel': 'sun-sentinel.com',
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"----- custom sites (remove cookies) -----": "",
|
"----- Custom Sites (remove cookies) -----": "",
|
||||||
"American Affairs": "americanaffairsjournal.org",
|
"American Affairs": "americanaffairsjournal.org",
|
||||||
"Dark Reading": "darkreading.com",
|
"Dark Reading": "darkreading.com",
|
||||||
"Pittsburgh Post Gazette": "post-gazette.com",
|
"Pittsburgh Post Gazette": "post-gazette.com",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user