mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:31:57 +01:00
Add Il Foglio (Italy)
This commit is contained in:
parent
e5aa5464e4
commit
902be2ffa6
7 changed files with 40 additions and 34 deletions
|
@ -428,6 +428,7 @@ Grouped in options:\
|
|||
[Domani](https://editorialedomani.it) -
|
||||
[GElocal.it](https://quotidiani.gelocal.it) -
|
||||
[Il Fatto Quotidiano](https://www.ilfattoquotidiano.it) -
|
||||
[Il Foglio](https://www.ilfoglio.it) -
|
||||
[Il Manifesto](https://ilmanifesto.it) -
|
||||
[Il Secolo XIX](https://www.ilsecoloxix.it) -
|
||||
[Internazionale](https://www.internazionale.it) -
|
||||
|
@ -646,7 +647,7 @@ Grouped in options:\
|
|||
[La Estrella de Valparaíso](https://www.estrellavalpo.cl) -
|
||||
[La Segunda](https://digital.lasegunda.com) -
|
||||
[La Tercera](https://www.latercera.com)
|
||||
##### Columbia
|
||||
##### Colombia
|
||||
[El Espectador](https://www.elespectador.com)
|
||||
##### Mexico
|
||||
[Mexico News Daily](https://mexiconewsdaily.com)
|
||||
|
|
|
@ -3,10 +3,11 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
|
||||
Post-release
|
||||
Add Capital Gazette (local USA)
|
||||
Add Il Foglio (Italy)
|
||||
Fix group Tribune Publishing Company (js)
|
||||
|
||||
* v2.4.9.0 (2021-12-26)
|
||||
Add El Espectador (Columbia)
|
||||
Add El Espectador (Colombia)
|
||||
Add ESPN USA (news only)
|
||||
Add Les Inrockuptibles (France)
|
||||
Remove Algemeen Dagblad (now regional only)
|
||||
|
|
|
@ -28,7 +28,7 @@ var usa_mng_domains = ['denverpost.com', 'eastbaytimes.com', 'mercurynews.com'
|
|||
var usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com'];
|
||||
|
||||
// clean local storage of sites (with an exemption for hold-list)
|
||||
var arr_localstorage_hold = ['allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'businessoffashion.com', 'charliehebdo.fr', 'cmjornal.pt', 'expressnews.com', 'fortune.com', 'houstonchronicle.com', 'inc42.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk'].concat(de_funke_media_domains, es_grupo_vocento_domains, es_unidad_domains, no_nhst_media_domains);
|
||||
var arr_localstorage_hold = ['allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'businessoffashion.com', 'charliehebdo.fr', 'cmjornal.pt', 'expressnews.com', 'fortune.com', 'houstonchronicle.com', 'ilfoglio.it', 'inc42.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk'].concat(de_funke_media_domains, es_grupo_vocento_domains, es_unidad_domains, no_nhst_media_domains);
|
||||
if (!matchDomain(arr_localstorage_hold)) {
|
||||
window.localStorage.clear();
|
||||
}
|
||||
|
@ -1317,6 +1317,21 @@ else if (matchDomain('ilfattoquotidiano.it')) {
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('ilfoglio.it')) {
|
||||
if (window.location.pathname.endsWith('/amp/')) {
|
||||
amp_unhide_subscr_section('amp-ad, [class^="adv-"], div#gmpVideoContainer');
|
||||
} else {
|
||||
let paywall = document.querySelector('div.paywall');
|
||||
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||
if (paywall && amphtml) {
|
||||
removeDOMElement(paywall);
|
||||
window.location.href = amphtml.href;
|
||||
}
|
||||
let ads = document.querySelectorAll('.advertisement');
|
||||
removeDOMElement(...ads);
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain(it_ilmessaggero_domains)) {
|
||||
if (window.location.pathname.toLowerCase().includes('/amp/')) {
|
||||
amp_unhide_subscr_section('amp-ad, amp-embed');
|
||||
|
|
|
@ -100,6 +100,11 @@
|
|||
"domain": "luzernerzeitung.ch",
|
||||
"useragent": "googlebot"
|
||||
},
|
||||
"Mailplus.co.uk": {
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.tinypass\\.com\\/",
|
||||
"domain": "mailplus.co.uk"
|
||||
},
|
||||
"Morgenbladet.no": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "morgenbladet.no",
|
||||
|
@ -190,3 +195,4 @@
|
|||
"useragent": "googlebot"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -241,6 +241,7 @@
|
|||
"*://*.ideal.es/*",
|
||||
"*://*.ijmuidercourant.nl/*",
|
||||
"*://*.ilfattoquotidiano.it/*",
|
||||
"*://*.ilfoglio.it/*",
|
||||
"*://*.ilgazzettino.it/*",
|
||||
"*://*.ilgiorno.it/*",
|
||||
"*://*.illawarramercury.com.au/*",
|
||||
|
@ -599,5 +600,5 @@
|
|||
"*://*.wsj.net/*",
|
||||
"*://*.zephr.com/*"
|
||||
],
|
||||
"version": "2.4.9.1"
|
||||
"version": "2.4.9.2"
|
||||
}
|
||||
|
|
5
sites.js
5
sites.js
|
@ -701,6 +701,11 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /cdn\.ampproject\.org\/v\d\/amp-(ad|subscriptions)-.+\.js/
|
||||
},
|
||||
"Il Foglio": {
|
||||
domain: "ilfoglio.it",
|
||||
allow_cookies: 1,
|
||||
block_regex: /cdn\.ampproject\.org\/v\d\/amp-((sticky-)?ad|subscriptions)-.+\.js/
|
||||
},
|
||||
"Il Manifesto": {
|
||||
domain: "ilmanifesto.it",
|
||||
referer: "facebook"
|
||||
|
|
|
@ -1,21 +1,4 @@
|
|||
{
|
||||
"Aachener Nachrichten": {
|
||||
"domain": "aachener-nachrichten.de",
|
||||
"allow_cookies": 1,
|
||||
"amp_redirect": {
|
||||
"paywall": ".park-article-paywall, .text-blurred"
|
||||
},
|
||||
"amp_unhide": 1,
|
||||
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|analytics|consent|subscriptions)-.+\\.js"
|
||||
},
|
||||
"Allgäuer Zeitung": {
|
||||
"domain": "allgaeuer-zeitung.de",
|
||||
"allow_cookies": 1,
|
||||
"amp_redirect": {
|
||||
"paywall": "p.nfy-text-blur"
|
||||
},
|
||||
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|subscriptions)-.+\\.js)"
|
||||
},
|
||||
"El Espectador": {
|
||||
"domain": "elespectador.com",
|
||||
"allow_cookies": 1,
|
||||
|
@ -25,31 +8,25 @@
|
|||
"amp_unhide": 1,
|
||||
"block_regex": "(cdn\\.cxense\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-((sticky-)?ad|subscriptions)-.+\\.js)"
|
||||
},
|
||||
"La Libre.be": {
|
||||
"domain": "lalibre.be",
|
||||
"Il Foglio": {
|
||||
"domain": "ilfoglio.it",
|
||||
"allow_cookies": 1,
|
||||
"useragent": "googlebot"
|
||||
"amp_redirect": {
|
||||
"paywall": ".paywall"
|
||||
},
|
||||
"amp_unhide": 1,
|
||||
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-((sticky-)?ad|subscriptions)-.+\\.js"
|
||||
},
|
||||
"Les Inrockuptibles": {
|
||||
"domain": "lesinrocks.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.qiota\\.com\\/"
|
||||
},
|
||||
"San Antonio Express-News": {
|
||||
"domain": "expressnews.com",
|
||||
"block_regex": "(\\.blueconic\\.net\\/|cdn\\.ampproject\\.org\\/v\\d\/amp-(access|(sticky-)?ad)-.+\\.js)"
|
||||
},
|
||||
"The Diplomat": {
|
||||
"domain": "thediplomat.com",
|
||||
"block_regex": "\\/thediplomat\\.com\\/.+\\/js\\/angular-cookies\\.min\\.js",
|
||||
"remove_cookies_select_drop": ["dpl-pw"]
|
||||
},
|
||||
"The Indian Express": {
|
||||
"domain": "indianexpress.com",
|
||||
"allow_cookies": 1,
|
||||
"amp_unhide": 1,
|
||||
"block_regex": "(\\/indianexpress\\.com\\/.+\\/indianexpress\\/js\\/evolok\\/.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|(sticky-)?ad)-.+\\.js)"
|
||||
},
|
||||
"Tribune Publishing Company": {
|
||||
"domain": "###_usa_tribune",
|
||||
"group": [
|
||||
|
|
Loading…
Reference in a new issue