mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:41:57 +01:00
Add ilSecoloXIX.it & Repubblica.it
Fix TheTimes.co.uk (mobile scroll)
This commit is contained in:
parent
e2489a1119
commit
b4ba2baaa3
6 changed files with 28 additions and 38 deletions
|
@ -690,8 +690,9 @@ Grouped in options:\
|
|||
|
||||
Grouped in options:\
|
||||
*Gruppo GEDI.it* sites like\
|
||||
[Il Secolo XIX](https://www.ilsecoloxix.it) -
|
||||
[Italian.tech](https://www.italian.tech) -
|
||||
[L'Espresso](https://espresso.repubblica.it) -
|
||||
[La Repubblica](https://www.repubblica.it) -
|
||||
[La Stampa](https://www.lastampa.it) -
|
||||
[Le Scienze](https://www.lescienze.it) -
|
||||
[Moda & Beauty](https://www.moda.it)
|
||||
|
|
|
@ -3,14 +3,17 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||
|
||||
Post-release
|
||||
Add ilSecoloXIX.it (GEDI.it)
|
||||
Add Jazziz
|
||||
Add Jazzwise
|
||||
Add Repubblica.it (GEDI.it)
|
||||
Add Tagesspiegel.de (link to archive.is)
|
||||
Add Tiroler Tageszeitung
|
||||
Remove Madavor Media (domains obsolete)
|
||||
Fix El Periodico de Catalunya (Grupo Prensa Iberica)
|
||||
Fix Groupe Nice-Matin (css)
|
||||
Fix The Hill Times (ld_json_url)
|
||||
Fix TheTimes.co.uk (mobile scroll)
|
||||
Update popup (fix toggle for custom flex sites)
|
||||
|
||||
* v3.4.3.0 (2023-11-19)
|
||||
|
|
|
@ -27,7 +27,7 @@ var fr_groupe_ebra_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr', '
|
|||
var fr_groupe_la_depeche_domains = ['centrepresseaveyron.fr', 'ladepeche.fr', 'lindependant.fr', 'midilibre.fr', 'nrpyrenees.fr', 'petitbleu.fr', 'rugbyrama.fr'];
|
||||
var fr_groupe_nice_matin_domains = ['monacomatin.mc', 'nicematin.com', 'varmatin.com'];
|
||||
var it_ilmessaggero_domains = ['corriereadriatico.it', 'ilgazzettino.it', 'ilmattino.it', 'ilmessaggero.it', 'quotidianodipuglia.it'];
|
||||
var it_gedi_domains = ['italian.tech', 'lastampa.it', 'lescienze.it', 'moda.it', 'repubblica.it'];
|
||||
var it_gedi_domains = ['ilsecoloxix.it', 'italian.tech', 'lastampa.it', 'lescienze.it', 'moda.it', 'repubblica.it'];
|
||||
var it_quotidiano_domains = ['ilgiorno.it', 'ilrestodelcarlino.it', 'iltelegrafolivorno.it', 'lanazione.it', 'quotidiano.net'];
|
||||
var medium_custom_domains = ['betterprogramming.pub', 'towardsdatascience.com'];
|
||||
var nl_dpg_adr_domains = ['ad.nl', 'bd.nl', 'bndestem.nl', 'destentor.nl', 'ed.nl', 'gelderlander.nl', 'pzc.nl', 'tubantia.nl'];
|
||||
|
@ -2289,37 +2289,12 @@ else if (matchDomain('italiaoggi.it')) {
|
|||
}
|
||||
|
||||
else if (matchDomain(it_gedi_domains)) {
|
||||
if (matchDomain('espresso.repubblica.it')) {
|
||||
if (!window.location.pathname.match(/\amp(\/)?$/)) {
|
||||
amp_redirect('div#paywall');
|
||||
} else {
|
||||
amp_unhide_access_hide('="showContent"', '="NOT (showContent)"', 'amp-ad, amp-embed');
|
||||
let logo = document.querySelector('div.logo-container > a');
|
||||
if (logo) {
|
||||
logo.innerText = "L'Espresso";
|
||||
logo.style.color = 'white';
|
||||
}
|
||||
let placeholders = document.querySelectorAll('figure > amp-img[placeholder][src]');
|
||||
for (let elem of placeholders) {
|
||||
let img = document.createElement('img');
|
||||
img.src = elem.getAttribute('src');
|
||||
elem.parentNode.replaceChild(img, elem);
|
||||
}
|
||||
let inline_videos = document.querySelectorAll('div.video-container > iframe[src]');
|
||||
for (let video of inline_videos) {
|
||||
let elem = document.createElement('a');
|
||||
elem.href = video.src;
|
||||
elem.innerText = '>>> external video-link';
|
||||
elem.target = '_blank';
|
||||
video.parentNode.replaceChild(elem, video);
|
||||
}
|
||||
}
|
||||
} else if (matchDomain('lastampa.it')) {
|
||||
if (matchDomain(['lastampa.it', 'repubblica.it'])) {
|
||||
if (window.location.pathname.includes('/news/')) {
|
||||
if (!window.location.pathname.match(/\amp(\/)?$/)) {
|
||||
csDoneOnce = true;
|
||||
let story_text = document.querySelector('div.story__text');
|
||||
if (!story_text)
|
||||
let paywall = document.querySelector('iframe#__limio_frame');
|
||||
if (paywall)
|
||||
refreshCurrentTab_bg();
|
||||
let modal = document.querySelector('aside#widgetDP');
|
||||
removeDOMElement(modal);
|
||||
|
@ -3134,13 +3109,18 @@ else if (matchDomain('thetimes.co.uk')) {
|
|||
let article = document.querySelector('article[class^="responsive__BodyContainer"]');
|
||||
if (article)
|
||||
article.firstChild.before(archiveLink(url));
|
||||
waitDOMAttribute('body', 'BODY', 'style', node => node.removeAttribute('style'), true);
|
||||
waitDOMAttribute('html', 'HTML', 'style', node => node.removeAttribute('style'), true);
|
||||
for (let n = 0; n < 5; n++) {
|
||||
window.setTimeout(function () {
|
||||
let page_scroll = document.querySelectorAll('html, body');
|
||||
for (let elem of page_scroll)
|
||||
elem.style = 'overflow: auto !important; height: 100% !important;';
|
||||
}, n * 500);
|
||||
}
|
||||
}
|
||||
let paywall_page = document.querySelector('div#paywall-portal-page-footer');
|
||||
let block = document.querySelector('.subscription-block');
|
||||
removeDOMElement(paywall_page, block);
|
||||
let ads = document.querySelectorAll('#ad-article-inline, #sticky-ad-header, div[class*="InlineAdWrapper"], div[class*="NativeAd"], div.gyLkkj');
|
||||
let ads = document.querySelectorAll('#ad-article-inline, div#sticky-ad-header, div[class*="InlineAdWrapper"], div[class*="NativeAd"], div.gyLkkj');
|
||||
hideDOMElement(...ads);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.4.3.6"
|
||||
"version": "3.4.3.7"
|
||||
}
|
||||
|
|
|
@ -320,6 +320,7 @@
|
|||
"*://*.ilmattino.it/*",
|
||||
"*://*.ilmessaggero.it/*",
|
||||
"*://*.ilrestodelcarlino.it/*",
|
||||
"*://*.ilsecoloxix.it/*",
|
||||
"*://*.iltelegrafolivorno.it/*",
|
||||
"*://*.iltirreno.it/*",
|
||||
"*://*.inc.com/*",
|
||||
|
@ -819,5 +820,5 @@
|
|||
"*://*.wyleex.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.4.3.6"
|
||||
"version": "3.4.3.7"
|
||||
}
|
||||
|
|
11
sites.js
11
sites.js
|
@ -982,19 +982,24 @@ var defaultSites = {
|
|||
"Gruppo GEDI.it (listed sites only)": {
|
||||
domain: "###_it_gedi",
|
||||
group: [
|
||||
"ilsecoloxix.it",
|
||||
"italian.tech",
|
||||
"lastampa.it",
|
||||
"lescienze.it",
|
||||
"moda.it",
|
||||
"espresso.repubblica.it"
|
||||
"repubblica.it"
|
||||
],
|
||||
allow_cookies: 1,
|
||||
remove_cookies_select_drop: ["blaize_session"],
|
||||
block_regex: /(scripts\.repubblica\.it\/pw\/pw\.js|cdn\.ampproject\.org\/v\d\/amp-(access|user-notification)-.+\.js)/,
|
||||
useragent: "googlebot",
|
||||
exception: [{
|
||||
domain: "lastampa.it",
|
||||
block_js_inline: /\.lastampa\.it\/.+\/news\//,
|
||||
remove_cookies_select_drop: ["blaize_session"]
|
||||
}, {
|
||||
domain: "repubblica.it",
|
||||
block_js_inline: /\.repubblica\.it\/.+\/news\//,
|
||||
remove_cookies_select_drop: ["blaize_session"]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -2896,6 +2901,6 @@ init_custom_flex_domains();
|
|||
var be_mediahuis_nofix_domains = ['gva.be', 'hbvl.be', 'nieuwsblad.be', 'standaard.be'];
|
||||
var de_rp_aachen_medien_nofix_domains = ['aachener-nachrichten.de', 'aachener-zeitung.de', 'ga.de', 'rp-online.de', 'saarbruecker-zeitung.de', 'volksfreund.de'];
|
||||
var fr_indigo_nofix_domains = ['africaintelligence.com', 'africaintelligence.fr', 'glitz.paris', 'intelligenceonline.com', 'intelligenceonline.fr', 'lalettre.fr'];
|
||||
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'limesonline.com', 'repubblica.it'];
|
||||
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'limesonline.com'];
|
||||
var nl_mediahuis_region_nofix_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
|
||||
var nofix_sites = ['aamulehti.fi', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'asahi.com', 'asiatimes.com', 'autosport.com', 'aviationweek.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'businessgreen.com', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'diepresse.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'expresso.pt', 'falter.at', 'finance.si', 'ftchinese.com', 'gamestar.de', 'geo.de', 'golem.de', 'handelsblatt.com', 'hbrchina.org', 'heise.de', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lequipe.fr', 'lesjours.fr', 'liberation.fr', 'limburger.nl', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newslaundry.com', 'nn.de', 'observador.pt', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'schwarzwaelder-bote.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'suedkurier.de', 'swp.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'vosgesmatin.fr', 'weltwoche.ch', 'weltwoche.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(be_mediahuis_nofix_domains, de_rp_aachen_medien_nofix_domains, fr_indigo_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains);
|
||||
|
|
Loading…
Reference in a new issue