mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 01:54:17 +01:00
Remove VentureBeat (no paywall)
This commit is contained in:
parent
aa7f69d24d
commit
835daeac77
5 changed files with 8 additions and 19 deletions
|
@ -69,7 +69,7 @@ Use adblocker with custom (content)filter & userscript (manager): https://gitlab
|
||||||
* Clear cookies by add-on's icon and grant permission for site (or opt-in to custom sites)
|
* Clear cookies by add-on's icon and grant permission for site (or opt-in to custom sites)
|
||||||
* You will be logged out for some of the sites you have enabled.
|
* You will be logged out for some of the sites you have enabled.
|
||||||
* Make sure you're running the latest version of Bypass Paywalls Clean.
|
* Make sure you're running the latest version of Bypass Paywalls Clean.
|
||||||
* Some sites need to redirect to an amp-page (add an exception in your `Redirect AMP to HTML` or `DuckDuckGo Privacy Essentials` add-on).
|
* Some sites need to redirect to an amp-page (this may cause a redirect-loop by an amp-to-html add-on or browser setting).
|
||||||
* If none of these work, you can [submit an issue](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/issues).
|
* If none of these work, you can [submit an issue](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/issues).
|
||||||
* This add-on works best alongside the adblocker [uBlock Origin](https://addons.mozilla.org/firefox/addon/ublock-origin).
|
* This add-on works best alongside the adblocker [uBlock Origin](https://addons.mozilla.org/firefox/addon/ublock-origin).
|
||||||
* If you live in the EU, also consider adding these filters to your adblocker (in order to remove cookie warnings): [Easylist Cookies](https://secure.fanboy.co.nz/fanboy-cookiemonster.txt) | [I don't care about cookies custom filter](https://www.i-dont-care-about-cookies.eu/abp). Some sites need to set a consent-cookie for (social) media.
|
* If you live in the EU, also consider adding these filters to your adblocker (in order to remove cookie warnings): [Easylist Cookies](https://secure.fanboy.co.nz/fanboy-cookiemonster.txt) | [I don't care about cookies custom filter](https://www.i-dont-care-about-cookies.eu/abp). Some sites need to set a consent-cookie for (social) media.
|
||||||
|
@ -150,8 +150,7 @@ Grouped in options:\
|
||||||
[Science](https://www.science.org)* -
|
[Science](https://www.science.org)* -
|
||||||
[Scientific American](https://www.scientificamerican.com) -
|
[Scientific American](https://www.scientificamerican.com) -
|
||||||
[The Scientist](https://www.the-scientist.com) -
|
[The Scientist](https://www.the-scientist.com) -
|
||||||
[Times Higher Education](https://www.timeshighereducation.com) -
|
[Times Higher Education](https://www.timeshighereducation.com)
|
||||||
[VentureBeat](https://venturebeat.com)
|
|
||||||
|
|
||||||
Grouped in options:\
|
Grouped in options:\
|
||||||
*Crain Communications* sites like\
|
*Crain Communications* sites like\
|
||||||
|
|
|
@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
Remove HBR China (fix obsolete)
|
Remove HBR China (fix obsolete)
|
||||||
|
Remove VentureBeat (no paywall)
|
||||||
Fix The Week (css)
|
Fix The Week (css)
|
||||||
Update block general paywall script (fix BlueConic)
|
Update block general paywall script (fix BlueConic)
|
||||||
Update custom sites (import - remove obsolete)
|
Update custom sites (import - remove obsolete)
|
||||||
|
|
|
@ -50,7 +50,7 @@ var usa_outside_mag_domains = ["backpacker.com", "betamtb.com", "betternutrition
|
||||||
var usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.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)
|
// clean local storage of sites (with an exemption for hold-list)
|
||||||
var arr_localstorage_hold = ['augsburger-allgemeine.de', 'barrons.com', 'business-standard.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'dvhn.nl', 'economictimes.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'freiepresse.de', 'gauchazh.clicrbs.com.br', 'globo.com', 'ilfoglio.it', 'inc42.com', 'indianexpress.com', 'indiatoday.in', 'ksta.de', 'kurier.at', 'lanouvellerepublique.fr', 'latimes.com', 'lc.nl', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'mundodeportivo.com', 'nationalreview.com', 'nrc.nl', 'nw.de', 'nwzonline.de', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'ruhrnachrichten.de', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'telegraph.co.uk', 'tes.com', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'theweek.com', 'uol.com.br', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, ca_torstar_domains, de_funke_medien_domains, de_lv_domains, de_vrm_domains, de_vrm_custom_domains, de_westfalen_medien_domains, es_epiberica_domains, es_epiberica_custom_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_gedi_domains, it_quotidiano_domains, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains);
|
var arr_localstorage_hold = ['augsburger-allgemeine.de', 'barrons.com', 'business-standard.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'digiday.com', 'dvhn.nl', 'economictimes.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'freiepresse.de', 'gauchazh.clicrbs.com.br', 'globo.com', 'ilfoglio.it', 'inc42.com', 'indianexpress.com', 'indiatoday.in', 'ksta.de', 'kurier.at', 'lanouvellerepublique.fr', 'latimes.com', 'lc.nl', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'mundodeportivo.com', 'nationalreview.com', 'nrc.nl', 'nw.de', 'nwzonline.de', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'ruhrnachrichten.de', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'telegraph.co.uk', 'tes.com', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'theweek.com', 'uol.com.br', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, ca_torstar_domains, de_funke_medien_domains, de_lv_domains, de_vrm_domains, de_vrm_custom_domains, de_westfalen_medien_domains, es_epiberica_domains, es_epiberica_custom_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_gedi_domains, it_quotidiano_domains, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains);
|
||||||
if (!matchDomain(arr_localstorage_hold)) {
|
if (!matchDomain(arr_localstorage_hold)) {
|
||||||
window.localStorage.clear();
|
window.localStorage.clear();
|
||||||
}
|
}
|
||||||
|
@ -3661,6 +3661,9 @@ else if (matchDomain('defector.com')) {
|
||||||
else if (matchDomain('digiday.com')) {
|
else if (matchDomain('digiday.com')) {
|
||||||
if (window.location.pathname.endsWith('/amp/')) {
|
if (window.location.pathname.endsWith('/amp/')) {
|
||||||
amp_unhide_access_hide('="NOT p.showPageviewExpired AND NOT p.showPayWall"', '', 'amp-ad, .advertisement, .ad-wrapper');
|
amp_unhide_access_hide('="NOT p.showPageviewExpired AND NOT p.showPayWall"', '', 'amp-ad, .advertisement, .ad-wrapper');
|
||||||
|
} else {
|
||||||
|
let ads = document.querySelectorAll('div[class^="ad_"]');
|
||||||
|
hideDOMElement(...ads);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5375,14 +5378,6 @@ else if (matchDomain('usatoday.com')) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('venturebeat.com')) {
|
|
||||||
window.setTimeout(function () {
|
|
||||||
let paywall = document.querySelector('div.paywall');
|
|
||||||
if (paywall)
|
|
||||||
paywall.classList.remove('paywall');
|
|
||||||
}, 500);
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (matchDomain('vikatan.com')) {
|
else if (matchDomain('vikatan.com')) {
|
||||||
window.setTimeout(function () {
|
window.setTimeout(function () {
|
||||||
let paywall = document.querySelector('div#paywallDisplay');
|
let paywall = document.querySelector('div#paywallDisplay');
|
||||||
|
|
|
@ -716,7 +716,6 @@
|
||||||
"*://*.variety.com/*",
|
"*://*.variety.com/*",
|
||||||
"*://*.varmatin.com/*",
|
"*://*.varmatin.com/*",
|
||||||
"*://*.vegetariantimes.com/*",
|
"*://*.vegetariantimes.com/*",
|
||||||
"*://*.venturebeat.com/*",
|
|
||||||
"*://*.vikatan.com/*",
|
"*://*.vikatan.com/*",
|
||||||
"*://*.vn.nl/*",
|
"*://*.vn.nl/*",
|
||||||
"*://*.vogue.com/*",
|
"*://*.vogue.com/*",
|
||||||
|
@ -789,7 +788,6 @@
|
||||||
"*://*.ndcmediagroep.nl/*",
|
"*://*.ndcmediagroep.nl/*",
|
||||||
"*://*.nyt.com/*",
|
"*://*.nyt.com/*",
|
||||||
"*://*.pasedigital.cl/*",
|
"*://*.pasedigital.cl/*",
|
||||||
"*://*.wallkit.net/*",
|
|
||||||
"*://*.wyleex.com/*",
|
"*://*.wyleex.com/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
|
|
6
sites.js
6
sites.js
|
@ -484,6 +484,7 @@ var defaultSites = {
|
||||||
},
|
},
|
||||||
"Digiday": {
|
"Digiday": {
|
||||||
domain: "digiday.com",
|
domain: "digiday.com",
|
||||||
|
allow_cookies: 1,
|
||||||
block_regex: /(cdn\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
block_regex: /(cdn\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
||||||
},
|
},
|
||||||
"Discover Magazine": {
|
"Discover Magazine": {
|
||||||
|
@ -2422,11 +2423,6 @@ var defaultSites = {
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /\.qiota\.com\//
|
block_regex: /\.qiota\.com\//
|
||||||
},
|
},
|
||||||
"VentureBeat": {
|
|
||||||
domain: "venturebeat.com",
|
|
||||||
allow_cookies: 1,
|
|
||||||
block_regex: /\.wallkit\.net\/js\//
|
|
||||||
},
|
|
||||||
"Verlagsgruppe Rhein Main": {
|
"Verlagsgruppe Rhein Main": {
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
domain: "###_de_vrm",
|
domain: "###_de_vrm",
|
||||||
|
|
Loading…
Reference in a new issue