Add Eastwest (it/en)
parent
777972cee6
commit
1acca6ec01
|
@ -31,7 +31,7 @@ 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).
|
||||
* 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). You can also just request permissions for the custom sites you added yourself (or `clear cookies` to ask for permission for current site).
|
||||
* For custom sites you can also copy manifest.json from custom folder to the main extension folder (in Chrome optional permissions can get lost on reload unless you do a crx-installation first; no allowlist is needed).
|
||||
* 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)
|
||||
|
||||
|
@ -45,7 +45,7 @@ If you're familiar with Git(Hub)-clients you can also clone this repo and update
|
|||
3. Enable Developer Mode.
|
||||
4. Drag your crx-file anywhere on the page to import it (when you have an active 'load unpacked' installation, first remove it (and backup your custom sites); for automatic update).
|
||||
|
||||
* 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). You can also just request permissions for the custom sites you added yourself (or `clear cookies` to ask for permission for current site).
|
||||
|
||||
#### Android
|
||||
1. Install [Kiwi Browser](https://play.google.com/store/apps/details?id=com.kiwibrowser.browser&hl=nl) or [Yandex Browser](https://play.google.com/store/apps/details?id=com.yandex.browser&hl=en) from the Google PlayStore.
|
||||
|
@ -475,6 +475,7 @@ Grouped in options:\
|
|||
##### Italy
|
||||
[Corriere della Sera](https://www.corriere.it) -
|
||||
[Domani](https://editorialedomani.it) -
|
||||
[Eastwest](https://eastwest.eu) -
|
||||
[GElocal.it](https://quotidiani.gelocal.it) -
|
||||
[Huffingtonpost.it](https://www.huffingtonpost.it) -
|
||||
[Il Fatto Quotidiano](https://www.ilfattoquotidiano.it) -
|
||||
|
@ -518,7 +519,7 @@ Grouped in options:\
|
|||
[Vrij Nederland](https://www.nl.nl)
|
||||
|
||||
Grouped in options:\
|
||||
Algemeen Dagblad Regional (ADR) sites like
|
||||
*Algemeen Dagblad Regional (ADR)* sites like
|
||||
[BN DeStem](https://www.bndestem.nl) -
|
||||
[Brabants Dagblad](https://www.bd.nl) -
|
||||
[Eindhovens Dagblad](https://www.ed.nl) -
|
||||
|
@ -724,7 +725,7 @@ Remember to check the [previous requests](https://gitlab.com/magnolia1234/bypass
|
|||
### Add custom site
|
||||
Add your own custom site (also for testing).
|
||||
Check 'Options'-link in popup-menu and go to custom 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). You can also just request permissions for the custom sites you added yourself.
|
||||
\* 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). You can also just request permissions for the custom sites you added yourself (or `clear cookies` to ask for permission for current site).
|
||||
|
||||
By default sites' cookies/local storage are removed after page loads (to bypass article limit).
|
||||
Also you can enable Googlebot/Bingbot user-agent, set referer (to Facebook, Google or Twitter; ignored when Googlebot is set), set random ip-address, disable Javascript for (sub)domain(s) and/or external domains, block regular expression and/or unhide text on (or when paywall(selector) redirect to) amp-page.
|
||||
|
|
|
@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Chrome
|
|||
Post-release
|
||||
Add Condé Nast magazines & Vogue Business
|
||||
Add Diario Correo (Grupo El Comercio)
|
||||
Add Eastwest (it/en)
|
||||
Add Groupe Sud Ouest (France)
|
||||
Fix Australian Community Media (images)
|
||||
Fix Lequipe.fr & LesEchos.fr (refresh)
|
||||
|
|
|
@ -1307,7 +1307,7 @@ else if (matchDomain(['sudouest.fr', 'charentelibre.fr', 'larepubliquedespyrenee
|
|||
else
|
||||
csDone = true;
|
||||
|
||||
} else if (window.location.hostname.endsWith('.it') || matchDomain(['italian.tech', 'limesonline.com', 'quotidiano.net'])) {//italy
|
||||
} else if (window.location.hostname.endsWith('.it') || matchDomain(['eastwest.eu', 'italian.tech', 'limesonline.com', 'quotidiano.net'])) {//italy
|
||||
|
||||
if (matchDomain('corriere.it')) {
|
||||
if (window.location.pathname.endsWith('_amp.html')) {
|
||||
|
@ -1322,6 +1322,17 @@ if (matchDomain('corriere.it')) {
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('eastwest.eu')) {
|
||||
let paywall = document.querySelector('.paywall');
|
||||
if (paywall) {
|
||||
paywall.removeAttribute('style');
|
||||
paywall.classList.remove('paywall');
|
||||
let intro = document.querySelectorAll('div#testo_articolo > p, div#testo_articolo > h3');
|
||||
let offerta = document.querySelectorAll('div.offerta_abbonamenti');
|
||||
removeDOMElement(...intro, ...offerta);
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('ilfattoquotidiano.it')) {
|
||||
let url = window.location.href;
|
||||
if (url.includes('/amp/')) {
|
||||
|
|
|
@ -39,5 +39,5 @@
|
|||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.5.5.5"
|
||||
"version": "2.5.5.6"
|
||||
}
|
||||
|
|
|
@ -152,6 +152,7 @@
|
|||
"*://*.dna.fr/*",
|
||||
"*://*.dvhn.nl/*",
|
||||
"*://*.eastbaytimes.com/*",
|
||||
"*://*.eastwest.eu/*",
|
||||
"*://*.economictimes.com/*",
|
||||
"*://*.economictimes.indiatimes.com/*",
|
||||
"*://*.economist.com/*",
|
||||
|
@ -607,5 +608,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.5.5.5"
|
||||
"version": "2.5.5.6"
|
||||
}
|
||||
|
|
4
sites.js
4
sites.js
|
@ -335,6 +335,10 @@ var defaultSites = {
|
|||
block_regex: /(\.editorialedomani\.it\/pelcro\.js|js\.pelcro\.com\/)/,
|
||||
useragent: "googlebot"
|
||||
},
|
||||
"Eastwest.eu": {
|
||||
domain: "eastwest.eu",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"El Confidencial": {
|
||||
domain: "elconfidencial.com",
|
||||
allow_cookies: 1,
|
||||
|
|
|
@ -38,6 +38,24 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"Eastwest.eu": {
|
||||
"domain": "eastwest.eu",
|
||||
"allow_cookies": 1,
|
||||
"cs_code": [{
|
||||
"cond": ".paywall",
|
||||
"rm_attrib": "style",
|
||||
"rm_class": "paywall",
|
||||
"elems": [{
|
||||
"cond": "div#testo_articolo > p, div#testo_articolo > h3",
|
||||
"rm_elem": 1
|
||||
}, {
|
||||
"cond": "div.offerta_abbonamenti",
|
||||
"rm_elem": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"GQ": {
|
||||
"domain": "gq.com",
|
||||
"remove_cookies_select_drop": ["pay_ent_smp"],
|
||||
|
|
Loading…
Reference in New Issue