mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:37:47 +01:00
Add CNN (regwall)
This commit is contained in:
parent
6961b0693c
commit
ab42d49411
8 changed files with 29 additions and 4 deletions
|
@ -300,6 +300,7 @@ Grouped in options:\
|
||||||
|
|
||||||
##### Local USA news
|
##### Local USA news
|
||||||
[Albuquerque Journal](https://www.abqjournal.com) -
|
[Albuquerque Journal](https://www.abqjournal.com) -
|
||||||
|
[CNN](https://www.cnn.com) -
|
||||||
[Fox News](https://www.foxnews.com) -
|
[Fox News](https://www.foxnews.com) -
|
||||||
[Honolulu Star-Advertiser](https://www.staradvertiser.com) -
|
[Honolulu Star-Advertiser](https://www.staradvertiser.com) -
|
||||||
[Los Angeles Times](https://www.latimes.com) -
|
[Los Angeles Times](https://www.latimes.com) -
|
||||||
|
|
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||||
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Add CNN (regwall)
|
||||||
Fix Expresso.pt (json)
|
Fix Expresso.pt (json)
|
||||||
Fix The Athletic (scroll)
|
Fix The Athletic (scroll)
|
||||||
|
|
||||||
|
|
|
@ -3955,6 +3955,14 @@ else if (matchDomain('cnbc.com')) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain('cnn.com')) {
|
||||||
|
for (let item in window.localStorage)
|
||||||
|
if (item.match(/reg_?wall/i))
|
||||||
|
window.localStorage.removeItem(item);
|
||||||
|
let ads = document.querySelectorAll('div[class^="ad-slot-"], div.container__ads');
|
||||||
|
hideDOMElement(...ads);
|
||||||
|
}
|
||||||
|
|
||||||
else if (matchDomain('columbian.com')) {
|
else if (matchDomain('columbian.com')) {
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
func_post = function () {
|
func_post = function () {
|
||||||
|
|
|
@ -32,7 +32,7 @@ window.setTimeout(function () {
|
||||||
let hostname = window.location.hostname;
|
let hostname = window.location.hostname;
|
||||||
let custom_domain = getCookieDomain(hostname);
|
let custom_domain = getCookieDomain(hostname);
|
||||||
let group;
|
let group;
|
||||||
if (hostname) {
|
if (hostname && ext_api.runtime) {
|
||||||
if (document.querySelector('head > link[href*=".medium.com/"]') || matchDomain(['plainenglish.io']))
|
if (document.querySelector('head > link[href*=".medium.com/"]') || matchDomain(['plainenglish.io']))
|
||||||
group = 'medium.com';
|
group = 'medium.com';
|
||||||
else if (document.querySelector('head > meta[property="og:image"][content*="beehiiv"]'))
|
else if (document.querySelector('head > meta[property="og:image"][content*="beehiiv"]'))
|
||||||
|
|
|
@ -51,5 +51,5 @@
|
||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"*://*/*"
|
"*://*/*"
|
||||||
],
|
],
|
||||||
"version": "3.6.0.1"
|
"version": "3.6.0.2"
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,6 +71,11 @@
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"domain": "bm-online.de"
|
"domain": "bm-online.de"
|
||||||
},
|
},
|
||||||
|
"Booksandpublishing.com.au": {
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"domain": "booksandpublishing.com.au",
|
||||||
|
"ld_json_url": "article form#loginform|div.paywallblurtext"
|
||||||
|
},
|
||||||
"Bostonmagazine.com": {
|
"Bostonmagazine.com": {
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"domain": "bostonmagazine.com",
|
"domain": "bostonmagazine.com",
|
||||||
|
@ -584,6 +589,11 @@
|
||||||
"domain": "nordsee-zeitung.de",
|
"domain": "nordsee-zeitung.de",
|
||||||
"ld_google_webcache": "div.UserLoggedInContainer|article"
|
"ld_google_webcache": "div.UserLoggedInContainer|article"
|
||||||
},
|
},
|
||||||
|
"Novethic.fr": {
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"domain": "novethic.fr",
|
||||||
|
"ld_json_url": "div#paywall|div.entry-content"
|
||||||
|
},
|
||||||
"Nu.nl": {
|
"Nu.nl": {
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"cs_code": "[{\"cond\":\"article#LOGIN\",\"rm_elem\":1},{\"cond\":\"div.authorized-content\",\"rm_class\":\"authorized-content\"}]",
|
"cs_code": "[{\"cond\":\"article#LOGIN\",\"rm_elem\":1},{\"cond\":\"div.authorized-content\",\"rm_class\":\"authorized-content\"}]",
|
||||||
|
|
|
@ -162,6 +162,7 @@
|
||||||
"*://*.climbing.com/*",
|
"*://*.climbing.com/*",
|
||||||
"*://*.cmjornal.pt/*",
|
"*://*.cmjornal.pt/*",
|
||||||
"*://*.cnbc.com/*",
|
"*://*.cnbc.com/*",
|
||||||
|
"*://*.cnn.com/*",
|
||||||
"*://*.cntraveler.com/*",
|
"*://*.cntraveler.com/*",
|
||||||
"*://*.columbian.com/*",
|
"*://*.columbian.com/*",
|
||||||
"*://*.commentary.org/*",
|
"*://*.commentary.org/*",
|
||||||
|
@ -860,5 +861,5 @@
|
||||||
"*://archive.vn/*",
|
"*://archive.vn/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "3.6.0.1"
|
"version": "3.6.0.2"
|
||||||
}
|
}
|
||||||
|
|
6
sites.js
6
sites.js
|
@ -397,6 +397,10 @@ var defaultSites = {
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /\.tinypass\.com\//
|
block_regex: /\.tinypass\.com\//
|
||||||
},
|
},
|
||||||
|
"CNN (regwall)": {
|
||||||
|
domain: "cnn.com",
|
||||||
|
allow_cookies: 1
|
||||||
|
},
|
||||||
"Commentary Magazine": {
|
"Commentary Magazine": {
|
||||||
domain: "commentary.org",
|
domain: "commentary.org",
|
||||||
block_regex: /\.commentary\.org\/.+\/js\/dg-locker-public\.js/
|
block_regex: /\.commentary\.org\/.+\/js\/dg-locker-public\.js/
|
||||||
|
@ -3114,7 +3118,7 @@ init_custom_flex_domains();
|
||||||
var de_funke_medien_nofix_domains = ['harzkurier.de', 'ikz-online.de'];
|
var de_funke_medien_nofix_domains = ['harzkurier.de', 'ikz-online.de'];
|
||||||
var de_rp_aachen_medien_nofix_domains = ['aachener-nachrichten.de', 'aachener-zeitung.de', 'ga.de', 'rp-online.de', 'saarbruecker-zeitung.de', 'volksfreund.de'];
|
var de_rp_aachen_medien_nofix_domains = ['aachener-nachrichten.de', 'aachener-zeitung.de', 'ga.de', 'rp-online.de', 'saarbruecker-zeitung.de', 'volksfreund.de'];
|
||||||
var de_westfalen_medien_nofix_domains = ['muensterschezeitung.de', 'westfalen-blatt.de', 'wn.de'];
|
var de_westfalen_medien_nofix_domains = ['muensterschezeitung.de', 'westfalen-blatt.de', 'wn.de'];
|
||||||
var fr_be_groupe_rossel_nofix_domains = ['aisnenouvelle.fr', 'courrier-picard.fr', 'lardennais.fr', 'lavoixdunord.fr', 'lesoir.be', 'lest-eclair.fr', 'liberation-champagne.fr', 'lunion.fr', 'nordlittoral.fr', 'paris-normandie.fr', 'sudinfo.be'];
|
var fr_be_groupe_rossel_nofix_domains = ['aisnenouvelle.fr', 'courrier-picard.fr', 'lardennais.fr', 'lavoixdunord.fr', 'lemessager.fr', 'lesoir.be', 'lest-eclair.fr', 'liberation-champagne.fr', 'lunion.fr', 'nordlittoral.fr', 'paris-normandie.fr', 'sudinfo.be'];
|
||||||
var fr_groupe_ebra_nofix_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr', 'lalsace.fr', 'ledauphine.com', 'lejsl.com', 'leprogres.fr', 'republicain-lorrain.fr', 'vosgesmatin.fr'];
|
var fr_groupe_ebra_nofix_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr', 'lalsace.fr', 'ledauphine.com', 'lejsl.com', 'leprogres.fr', 'republicain-lorrain.fr', 'vosgesmatin.fr'];
|
||||||
var fr_indigo_nofix_domains = ['africaintelligence.com', 'africaintelligence.fr', 'glitz.paris', 'intelligenceonline.com', 'intelligenceonline.fr', 'lalettre.fr'];
|
var fr_indigo_nofix_domains = ['africaintelligence.com', 'africaintelligence.fr', 'glitz.paris', 'intelligenceonline.com', 'intelligenceonline.fr', 'lalettre.fr'];
|
||||||
var fr_jamg_nofix_domains = ['africabusinessplus.com', 'jeuneafrique.com', 'theafricareport.com'];
|
var fr_jamg_nofix_domains = ['africabusinessplus.com', 'jeuneafrique.com', 'theafricareport.com'];
|
||||||
|
|
Loading…
Reference in a new issue