mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:11:56 +01:00
Remove Delinian Group
This commit is contained in:
parent
f27af6ec4f
commit
d531d2326c
8 changed files with 13 additions and 58 deletions
|
@ -461,15 +461,6 @@ Grouped in options:\
|
|||
[UnHerd](https://unherd.com)
|
||||
|
||||
Grouped in options:\
|
||||
*Delinian Group* sites like\
|
||||
[Euromoney](https://www.euromoney.com) -
|
||||
[GlobalCapital](https://www.globalcapital.com) -
|
||||
[Institutional Investor](https://www.institutionalinvestor.com) -
|
||||
[Insurance Insider](https://www.insuranceinsider.com) -
|
||||
[International Financial Law Review](https://www.iflr.com) -
|
||||
[International Tax Review](https://www.internationaltaxreview.com) -
|
||||
[Managing Intellectual Property](https://www.managingip.com) -
|
||||
[Trading Risk](https://www.trading-risk.com)\
|
||||
*[Incisive Media](https://www.incisivemedia.com/brands)* sites (opt-in to custom sites)\
|
||||
*National World Publishing* sites like (opt-in to custom sites for unlisted)\
|
||||
[The Scotsman](https://www.scotsman.com) -
|
||||
|
|
|
@ -1395,7 +1395,7 @@ ext_api.runtime.onMessage.addListener(function (message, sender) {
|
|||
let custom_domain = message.data.domain;
|
||||
let group = message.data.group;
|
||||
if (group) {
|
||||
let nofix_groups = ['###_be_mediahuis', '###_ch_tamedia', '###_de_rp_aachen_medien', '###_fi_alma_talent', '###_it_citynews', '###_nl_vmnmedia', '###_substack_custom'];
|
||||
let nofix_groups = ['###_be_mediahuis', '###_ch_tamedia', '###_de_rp_aachen_medien', '###_fi_alma_talent', '###_it_citynews', '###_nl_vmnmedia', '###_substack_custom', '###_uk_delinian'];
|
||||
if (!custom_flex_domains.includes(custom_domain)) {
|
||||
if (enabledSites.includes(group)) {
|
||||
let rules = Object.values(defaultSites).filter(x => x.domain === group)[0];
|
||||
|
|
|
@ -8,6 +8,7 @@ Add LeFigaro.fr (link to archive.is)
|
|||
Add LeMonde.fr (link to archive.is)
|
||||
Add Sueddeutsche Zeitung (link to archive.is)
|
||||
Add The Impression
|
||||
Remove Delinian Group (fix obsolete)
|
||||
Fix El Pais (mobile)
|
||||
Fix Schwaebische.de
|
||||
Fix WSJ (mobile & Googlebot for cn/jp subdomain)
|
||||
|
|
|
@ -3841,27 +3841,6 @@ else if (matchDomain('euobserver.com')) {
|
|||
div_hidden.classList.remove('show');
|
||||
}
|
||||
|
||||
else if (matchDomain(['euromoney.com', 'globalcapital.com', 'iflr.com', 'insuranceinsider.com', 'institutionalinvestor.com', 'internationaltaxreview.com', 'managingip.com', 'trading-risk.com'])) {
|
||||
let url = window.location.href;
|
||||
let paywall_sel = 'div.paywall';
|
||||
let article_sel = 'div[class*="-articleContainer"]';
|
||||
if (matchDomain(['insuranceinsider.com', 'trading-risk.com'])) {
|
||||
paywall_sel = 'div[class*="-articleContainer"] div.sectionBlock';
|
||||
} else if (matchDomain('institutionalinvestor.com')) {
|
||||
paywall_sel = 'div.call_to_action';
|
||||
article_sel = 'div.Page-articleBody';
|
||||
}
|
||||
let paywall = document.querySelector(paywall_sel);
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
csDoneOnce = true;
|
||||
let url_cache = 'https://webcache.googleusercontent.com/search?q=cache:' + url.split('?')[0];
|
||||
replaceDomElementExt(url_cache, true, false, article_sel);
|
||||
}
|
||||
let fade = document.querySelector('div[style*="background-image: linear-gradient"]');
|
||||
removeDOMElement(fade);
|
||||
}
|
||||
|
||||
else if (matchDomain('fastcompany.com')) {
|
||||
let ads = document.querySelectorAll('div[class*="ad-wrapper"]');
|
||||
hideDOMElement(...ads);
|
||||
|
|
|
@ -111,7 +111,7 @@ window.setTimeout(function () {
|
|||
group = '###_ca_postmedia';
|
||||
else if (document.querySelector('script[src*=".axate.io/"], script[src*=".agate.io/"]'))
|
||||
group = '###_uk_axate.io';
|
||||
else if (matchDomain(['businessgreen.com', 'internationalinvestment.net', 'professionaladviser.com', 'professionalpensions.com']))
|
||||
else if (matchDomain(['internationalinvestment.net', 'professionaladviser.com', 'professionalpensions.com']))
|
||||
group = '###_uk_incisive_media';
|
||||
else if (document.querySelector('script[src="https://cdn.blueconic.net/bridgetowermedia.js"], header.site-header > div.btm-header'))
|
||||
group = '###_usa_bridge_tower';
|
||||
|
@ -130,6 +130,8 @@ window.setTimeout(function () {
|
|||
else if (hostname.match(/\.com$/)) {
|
||||
if (matchDomain(['journalauto.com', 'journaldupneu.com', 'j2rauto.com']))
|
||||
group = '###_fr_synerj';
|
||||
else if (!matchDomain('institutionalinvestor.com') && (matchDomain('thedeal.com') || document.querySelector('footer.Page-footer a.Link[href="https://www.delinian.com/privacy-policy"]')))
|
||||
group = '###_uk_delinian';// no fix
|
||||
else if (document.querySelector('head > link[href*=".com/wp-content/themes/madavor/"]'))
|
||||
group = '###_usa_madavor';
|
||||
else if (matchDomain(['centralmaine.com', 'pressherald.com', 'sunjournal.com']))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"###_remove_sites": {
|
||||
"cs_code": "africaintelligence.fr, arkansasonline.com, columbian.com, die-glocke.de, intelligenceonline.com, intelligenceonline.fr, interestingengineering.com, jeuneafrique.com, lalettrea.fr, lastampa.it, lavozdegalicia.es, law360.com, lepoint.fr, limburger.nl, manager-magazin.de, ouest-france.fr, pressherald.com, repubblica.it, risk.net, saechsische.de, swarajyamag.com, thetexan.news, theweek.com, vikatan.com",
|
||||
"cs_code": "africaintelligence.fr, arkansasonline.com, columbian.com, die-glocke.de, intelligenceonline.com, intelligenceonline.fr, interestingengineering.com, jeuneafrique.com, lalettrea.fr, lastampa.it, lavozdegalicia.es, law360.com, lepoint.fr, limburger.nl, manager-magazin.de, ouest-france.fr, pressherald.com, repubblica.it, risk.net, saechsische.de, sueddeutsche.de, swarajyamag.com, thetexan.news, theweek.com, vikatan.com",
|
||||
"domain": "###"
|
||||
},
|
||||
"Abajournal.com": {
|
||||
|
@ -318,6 +318,12 @@
|
|||
"domain": "ilglobo.com",
|
||||
"useragent": "googlebot"
|
||||
},
|
||||
"Institutionalinvestor.com": {
|
||||
"allow_cookies": 1,
|
||||
"cs_code": "[{\"cond\":\"div[style*='background-image: linear-gradient']\", \"rm_elem\":1}]",
|
||||
"domain": "institutionalinvestor.com",
|
||||
"ld_google_webcache": "div.call_to_action|div.Page-articleBody"
|
||||
},
|
||||
"Internationalepolitik.de": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "internationalepolitik.de"
|
||||
|
|
|
@ -248,7 +248,6 @@
|
|||
"*://*.etc.se/*",
|
||||
"*://*.euobserver.com/*",
|
||||
"*://*.eurekareport.com.au/*",
|
||||
"*://*.euromoney.com/*",
|
||||
"*://*.europower.no/*",
|
||||
"*://*.exame.com/*",
|
||||
"*://*.examiner.com.au/*",
|
||||
|
@ -284,7 +283,6 @@
|
|||
"*://*.genomeweb.com/*",
|
||||
"*://*.gestion.pe/*",
|
||||
"*://*.glassdoor.com/*",
|
||||
"*://*.globalcapital.com/*",
|
||||
"*://*.globes.co.il/*",
|
||||
"*://*.globo.com/*",
|
||||
"*://*.goldcoastbulletin.com.au/*",
|
||||
|
@ -311,7 +309,6 @@
|
|||
"*://*.humanite.fr/*",
|
||||
"*://*.humo.be/*",
|
||||
"*://*.ideal.es/*",
|
||||
"*://*.iflr.com/*",
|
||||
"*://*.ilfattoquotidiano.it/*",
|
||||
"*://*.ilfoglio.it/*",
|
||||
"*://*.ilgazzettino.it/*",
|
||||
|
@ -336,11 +333,8 @@
|
|||
"*://*.inkl.com/*",
|
||||
"*://*.inquirer.com/*",
|
||||
"*://*.insidehighered.com/*",
|
||||
"*://*.institutionalinvestor.com/*",
|
||||
"*://*.insuranceinsider.com/*",
|
||||
"*://*.intelligentinvestor.com.au/*",
|
||||
"*://*.interestingengineering.com/*",
|
||||
"*://*.internationaltaxreview.com/*",
|
||||
"*://*.internazionale.it/*",
|
||||
"*://*.intrafish.com/*",
|
||||
"*://*.intrafish.no/*",
|
||||
|
@ -447,7 +441,6 @@
|
|||
"*://*.madison.com/*",
|
||||
"*://*.mainichi.jp/*",
|
||||
"*://*.mallorcazeitung.es/*",
|
||||
"*://*.managingip.com/*",
|
||||
"*://*.mannheimer-morgen.de/*",
|
||||
"*://*.marca.com/*",
|
||||
"*://*.margriet.nl/*",
|
||||
|
@ -710,7 +703,6 @@
|
|||
"*://*.townandcountrymag.com/*",
|
||||
"*://*.townsvillebulletin.com.au/*",
|
||||
"*://*.tradewindsnews.com/*",
|
||||
"*://*.trading-risk.com/*",
|
||||
"*://*.trailrunnermag.com/*",
|
||||
"*://*.tri-cityherald.com/*",
|
||||
"*://*.triathlete.com/*",
|
||||
|
|
18
sites.js
18
sites.js
|
@ -466,21 +466,6 @@ var defaultSites = {
|
|||
domain: "defector.com",
|
||||
remove_cookies_select_drop: ["lede_defector_user"]
|
||||
},
|
||||
"Delinian Group": {
|
||||
domain: "###_uk_delinian",
|
||||
group: [
|
||||
"euromoney.com",
|
||||
"globalcapital.com",
|
||||
"iflr.com",
|
||||
"insuranceinsider.com",
|
||||
"institutionalinvestor.com",
|
||||
"internationaltaxreview.com",
|
||||
"managingip.com",
|
||||
"trading-risk.com"
|
||||
],
|
||||
allow_cookies: 1,
|
||||
cs_dompurify: 1
|
||||
},
|
||||
"Der Spiegel (link to archive.is)": {
|
||||
domain: "spiegel.de",
|
||||
allow_cookies: 1
|
||||
|
@ -2837,5 +2822,4 @@ init_custom_flex_domains();
|
|||
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 nl_mediahuis_region_nofix_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
|
||||
var uk_delinian_nofix_domains = ['insidepandc.com', 'thedeal.com'];
|
||||
var nofix_sites = ['aamulehti.fi', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'asiatimes.com', 'autosport.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', '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', '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', 'jacobinmag.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', 'morningstar.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newslaundry.com', 'nn.de', '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', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'vosgesmatin.fr', 'welt.de', 'weltwoche.ch', 'weltwoche.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(fr_indigo_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains, uk_delinian_nofix_domains);
|
||||
var nofix_sites = ['aamulehti.fi', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'asiatimes.com', 'autosport.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', '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', 'jacobinmag.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', 'morningstar.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newslaundry.com', 'nn.de', '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', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'vosgesmatin.fr', 'welt.de', 'weltwoche.ch', 'weltwoche.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(fr_indigo_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains);
|
||||
|
|
Loading…
Reference in a new issue