mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-12 01:10:24 +00:00
Remove Golem.de & Tagesspiegel.de
This commit is contained in:
parent
b493b5a1b7
commit
c984e41198
@ -553,11 +553,9 @@ Grouped in options:\
|
||||
[Börsen-Zeitung](https://www.boersen-zeitung.de) -
|
||||
[Cicero](https://www.cicero.de) -
|
||||
[Der Spiegel (link to archive.is)](https://www.spiegel.de) -
|
||||
[Der Tagesspiegel (link to archive.is)](https://www.tagesspiegel.de) -
|
||||
[Die Zeit (link to archive.is)](https://www.zeit.de) -
|
||||
[Frankfurter Allgemeine Zeitung](https://www.faz.net) -
|
||||
[Freie Presse](https://www.freiepresse.de) -
|
||||
[Golem.de (link to archive.is)](https://www.golem.de) -
|
||||
[Jacobin Magazin](https://jacobin.de) -
|
||||
[Kölner Stadt-Anzeiger](https://www.ksta.de) -
|
||||
[Kölnische Rundschau](https://www.rundschau-online.de) -
|
||||
|
@ -35,7 +35,6 @@ var restrictions = {
|
||||
'quora.com': /^((?!quora\.com\/search\?q=).)*$/,
|
||||
'seekingalpha.com': /\/seekingalpha\.com($|\/($|(amp\/)?(article|news)\/|samw\/))/,
|
||||
'statista.com': /^((?!\.statista\.com\/study\/).)*$/,
|
||||
'tagesspiegel.de': /^((?!\/(background|checkpoint)\.tagesspiegel\.de\/).)*$/,
|
||||
'techinasia.com': /\.techinasia\.com\/.+/,
|
||||
'theatlantic.com': /^((?!\/newsletters\.theatlantic\.com\/).)*$/,
|
||||
'thetimes.co.uk': /^((?!epaper\.thetimes\.co\.uk).)*$/,
|
||||
@ -449,7 +448,7 @@ ext_api.storage.local.get({
|
||||
} else {
|
||||
ext_api.management.getSelf(function (result) {
|
||||
if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) {
|
||||
let new_groups = ['###_be_groupe_ipm', '###_ch_esh_medias', '###_it_gruppo_sae', '###_nl_eu_ftm'];
|
||||
let new_groups = ['###_ch_esh_medias', '###_it_gruppo_sae', '###_nl_eu_ftm'];
|
||||
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain))) ||
|
||||
(enabledSites.includes('tinypass.com') && !enabledSites.includes('piano.io'));
|
||||
if (open_options)
|
||||
@ -464,7 +463,7 @@ ext_api.storage.local.get({
|
||||
});
|
||||
}
|
||||
|
||||
if (defaultSites['The Athletic'] && !enabledSites.includes('theathletic.com'))
|
||||
if (sites['The Athletic'] && !enabledSites.includes('theathletic.com'))
|
||||
ext_api.runtime.openOptionsPage();
|
||||
|
||||
disabledSites = defaultSites_grouped_domains.concat(customSites_domains).filter(x => !enabledSites.includes(x));
|
||||
@ -530,7 +529,7 @@ ext_api.storage.onChanged.addListener(function (changes, namespace) {
|
||||
var sites_updated = storageChange.newValue ? storageChange.newValue : {};
|
||||
updatedSites = sites_updated;
|
||||
updatedSites_domains_new = Object.values(updatedSites).filter(x => (x.domain && !defaultSites_domains.includes(x.domain) || x.group)).map(x => x.group ? x.group.filter(y => !defaultSites_domains.includes(y)) : x.domain).flat();
|
||||
updatedSites_new = Object.keys(updatedSites).filter(x => updatedSites[x].domain && !defaultSites_domains.includes(updatedSites[x].domain));
|
||||
updatedSites_new = Object.keys(updatedSites).filter(x => updatedSites[x].domain && !defaultSites_domains.includes(updatedSites[x].domain) && updatedSites[x].domain !== '###_usa_theathletic');
|
||||
if (updatedSites_new.length > 0) {
|
||||
if (enabledSites.includes('#options_enable_new_sites')) {
|
||||
for (let site_updated_new of updatedSites_new)
|
||||
|
@ -6,6 +6,8 @@ Post-release
|
||||
Add Delish, Elle Decor, Harper's Bazaar & Oprah Daily
|
||||
Add NWT Media.se (opt-in to custom sites)
|
||||
Add Stuttgarter-zeitung.de
|
||||
Remove Golem.de (fix obsolete)
|
||||
Remove Tagesspiegel.de (fix obsolete)
|
||||
Fix Hearst Communications magazines (js)
|
||||
|
||||
* v3.2.3.0 (2023-07-02)
|
||||
|
@ -795,17 +795,6 @@ else if (matchDomain('freiepresse.de')) {
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('golem.de')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('div.paywall-wrapper');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
let article = document.querySelector('p#gpar1');
|
||||
if (article)
|
||||
article.firstChild.before(archiveLink(url));
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('jacobin.de')) {
|
||||
let paywall = pageContains('h3.m-auto', 'Dieser Artikel ist nur mit Abo zugänglich.');
|
||||
if (paywall.length) {
|
||||
@ -996,17 +985,6 @@ else if (matchDomain('stuttgarter-zeitung.de')) {
|
||||
removeDOMElement(banner);
|
||||
}
|
||||
|
||||
else if (matchDomain('tagesspiegel.de')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('div#paywall');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
let article = document.querySelector('div.article--paid');
|
||||
if (article)
|
||||
article.firstChild.before(archiveLink(url));
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('zeit.de')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('aside#paywall');
|
||||
|
@ -274,7 +274,6 @@
|
||||
"*://*.globes.co.il/*",
|
||||
"*://*.globo.com/*",
|
||||
"*://*.goldcoastbulletin.com.au/*",
|
||||
"*://*.golem.de/*",
|
||||
"*://*.goodhousekeeping.com/*",
|
||||
"*://*.gooieneemlander.nl/*",
|
||||
"*://*.gq.com/*",
|
||||
@ -602,7 +601,6 @@
|
||||
"*://*.suomensotilas.fi/*",
|
||||
"*://*.svz.de/*",
|
||||
"*://*.syracuse.com/*",
|
||||
"*://*.tagesspiegel.de/*",
|
||||
"*://*.tampabay.com/*",
|
||||
"*://*.techinasia.com/*",
|
||||
"*://*.technologyreview.com/*",
|
||||
|
10
sites.js
10
sites.js
@ -416,10 +416,6 @@ var defaultSites = {
|
||||
domain: "spiegel.de",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"Der Tagesspiegel (link to archive.is/not background/checkpoint)": {
|
||||
domain: "tagesspiegel.de",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"Deutscher Fachverlag Mediengruppe (opt-in to custom sites)": {
|
||||
domain: "###_de_dfv_medien",
|
||||
group: [],
|
||||
@ -715,10 +711,6 @@ var defaultSites = {
|
||||
domain: "globes.co.il",
|
||||
block_regex: /\.tinypass\.com\//
|
||||
},
|
||||
"Golem.de (link to archive.is)": {
|
||||
domain: "golem.de",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"Groene Amsterdammer": {
|
||||
domain: "groene.nl",
|
||||
remove_cookies_select_hold: ["accept-cookies", "popunder-hidden"],
|
||||
@ -2608,4 +2600,4 @@ init_custom_flex_domains();
|
||||
|
||||
// sites with no fix (background)
|
||||
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'lastampa.it', 'limesonline.com', 'repubblica.it'];
|
||||
var nofix_sites = ['aamulehti.fi', 'africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'asiatimes.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'business-standard.com', 'businessinsider.de', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'diepresse.com', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'gamestar.de', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lepoint.fr', 'lequipe.fr', 'letemps.ch', 'liberation.fr', 'lopinion.fr', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'morningstar.com', 'nationaljournal.com', 'manager-magazin.de', 'mz.de', 'nature.com', 'nbr.co.nz', 'nn.de', 'nwzonline.de', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'ruhrnachrichten.de', 'saechsische.de', 'schwarzwaelder-bote.de', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'stuttgarter-nachrichten.de', 'substack.com', 'sueddeutsche.de', 'suedkurier.de', 'swp.de', 'techcrunch.com', 'the-ken.com', 'the-tls.co.uk', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'volksstimme.de', 'welt.de', 'weltkunst.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(it_gedi_nofix_domains);
|
||||
var nofix_sites = ['aamulehti.fi', 'africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'asiatimes.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'business-standard.com', 'businessinsider.de', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'diepresse.com', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'gamestar.de', 'golem.de', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lepoint.fr', 'lequipe.fr', 'letemps.ch', 'liberation.fr', 'lopinion.fr', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'morningstar.com', 'nationaljournal.com', 'manager-magazin.de', 'mz.de', 'nature.com', 'nbr.co.nz', 'nn.de', 'nwzonline.de', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'ruhrnachrichten.de', 'saechsische.de', 'schwarzwaelder-bote.de', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'stuttgarter-nachrichten.de', 'substack.com', 'sueddeutsche.de', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'the-tls.co.uk', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'volksstimme.de', 'welt.de', 'weltkunst.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(it_gedi_nofix_domains);
|
||||
|
@ -53,6 +53,29 @@
|
||||
"block_regex": "(\\.com\\/_assets\\/jam\\/journey-data\\.js|\\.ensighten\\.com\\/.+\\/Bootstrap\\.js)",
|
||||
"new_site": 1
|
||||
},
|
||||
"Hearst Communications magazines": {
|
||||
"domain": "###_usa_hearst_comm_mag",
|
||||
"group": [
|
||||
"bicycling.com",
|
||||
"cosmopolitan.com",
|
||||
"countryliving.com",
|
||||
"elle.com",
|
||||
"esquire.com",
|
||||
"goodhousekeeping.com",
|
||||
"hollywoodreporter.com",
|
||||
"housebeautiful.com",
|
||||
"menshealth.com",
|
||||
"popularmechanics.com",
|
||||
"prevention.com",
|
||||
"roadandtrack.com",
|
||||
"runnersworld.com",
|
||||
"townandcountrymag.com",
|
||||
"womenshealthmag.com"
|
||||
],
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.com\\/_assets\\/jam\\/journey-data\\.js|\\.ensighten\\.com\\/.+\\/Bootstrap\\.js)",
|
||||
"upd_version": "3.2.3.2"
|
||||
},
|
||||
"Het Laatste Nieuws (link to archive.is)": {
|
||||
"domain": "hln.be",
|
||||
"allow_cookies": 1,
|
||||
|
@ -2,8 +2,8 @@
|
||||
"addons": {
|
||||
"magnolia@12.34": {
|
||||
"updates": [
|
||||
{ "version": "3.2.2.0",
|
||||
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.2.2.0.xpi" }
|
||||
{ "version": "3.2.3.0",
|
||||
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.2.3.0.xpi" }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user