Add Eastwest (it/en)

merge-requests/3/head
magnolia1234 2 years ago
parent 44c1621b5b
commit ffa8043a1f

@ -20,7 +20,7 @@ Weekly updates are released for fixes and new sites.
You can install the add-on from Mozilla add-ons (AMO): [Bypass Paywalls Clean](https://addons.mozilla.org/en-US/firefox/addon/bypass-paywalls-clean)\
Latest add-on versions (2.4.8.0+) require a browser based on Firefox 86+ (else use the non-amo version below).\
Or download and install the latest xpi-version from [GitLab](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases)\
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).
### Update
Check for updates (in about:addons) and allow permissions for newly supported sites (else no update will be installed).\
@ -452,6 +452,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) -
@ -495,7 +496,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) -
@ -700,8 +701,8 @@ 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.
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 (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 - Firefox
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/')) {

@ -164,6 +164,7 @@
"*://*.dna.fr/*",
"*://*.dvhn.nl/*",
"*://*.eastbaytimes.com/*",
"*://*.eastwest.eu/*",
"*://*.economictimes.com/*",
"*://*.economictimes.indiatimes.com/*",
"*://*.economist.com/*",
@ -619,5 +620,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.5.5.5"
"version": "2.5.5.6"
}

@ -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…
Cancel
Save