Add L'Avenir (Belgium)
This commit is contained in:
parent
71e27e9128
commit
a9276460b5
@ -414,6 +414,7 @@ Grouped in options:\
|
||||
[Elle](https://www.elle.fr) -
|
||||
[Esprit](https://esprit.presse.fr) -
|
||||
[Franc-Tireur](https://www.franc-tireur.fr) -
|
||||
[L'Avenir](https://www.lavenir.net) -
|
||||
[L'Écho](https://lecho.be) -
|
||||
[L'Équipe](https://www.lequipe.fr) -
|
||||
[L'Express](https://www.lexpress.fr) -
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Add L'Avenir (Belgium)
|
||||
Fix Business Standard
|
||||
Fix Helsingin Sanomat (dynamic-json)
|
||||
Fix Koelner Stadt-Anzeiger & Koelnische Rundschau
|
||||
|
@ -1169,7 +1169,7 @@ else if (matchDomain('politicaexterior.com')) {
|
||||
else
|
||||
csDone = true;
|
||||
|
||||
} else if (window.location.hostname.endsWith('.fr') || matchDomain(['bienpublic.com', 'connaissancedesarts.com', 'journaldunet.com', 'la-croix.com', 'ledauphine.com', 'ledevoir.com', 'lesinrocks.com', 'lejsl.com', 'loeildelaphotographie.com', 'marianne.net', 'nouvelobs.com', 'parismatch.com', 'science-et-vie.com'].concat(fr_groupe_nice_matin_domains))) {//france
|
||||
} else if (window.location.hostname.endsWith('.fr') || matchDomain(['bienpublic.com', 'connaissancedesarts.com', 'journaldunet.com', 'la-croix.com', 'lavenir.net', 'ledauphine.com', 'ledevoir.com', 'lesinrocks.com', 'lejsl.com', 'loeildelaphotographie.com', 'marianne.net', 'nouvelobs.com', 'parismatch.com', 'science-et-vie.com'].concat(fr_groupe_nice_matin_domains))) {//france
|
||||
|
||||
if (matchDomain('alternatives-economiques.fr')) {
|
||||
window.setTimeout(function () {
|
||||
@ -1307,6 +1307,18 @@ else if (matchDomain('lanouvellerepublique.fr')) {
|
||||
removeDOMElement(alert_didacticiel, ...loading);
|
||||
}
|
||||
|
||||
else if (matchDomain('lavenir.net')) {
|
||||
let paywall = document.querySelector('div.is-preview');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
let div_hidden = document.querySelector('div.is-hidden');
|
||||
if (div_hidden)
|
||||
div_hidden.classList.remove('is-hidden');
|
||||
}
|
||||
let ads = document.querySelectorAll('div.ap-AdContainer');
|
||||
removeDOMElement(...ads);
|
||||
}
|
||||
|
||||
else if (matchDomain('ledevoir.com')) {
|
||||
let counter = document.querySelector('.popup-msg');
|
||||
removeDOMElement(counter);
|
||||
|
@ -42,5 +42,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.7.2.2"
|
||||
"version": "2.7.2.3"
|
||||
}
|
||||
|
@ -324,6 +324,7 @@
|
||||
"*://*.latimes.com/*",
|
||||
"*://*.latribune.fr/*",
|
||||
"*://*.lavanguardia.com/*",
|
||||
"*://*.lavenir.net/*",
|
||||
"*://*.laverdad.es/*",
|
||||
"*://*.lavie.fr/*",
|
||||
"*://*.lavoixdunord.fr/*",
|
||||
@ -671,5 +672,5 @@
|
||||
"*://*.wsj.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.7.2.2"
|
||||
"version": "2.7.2.3"
|
||||
}
|
||||
|
4
sites.js
4
sites.js
@ -879,6 +879,10 @@ var defaultSites = {
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.tinypass\.com\//
|
||||
},
|
||||
"L'Avenir": {
|
||||
domain: "lavenir.net",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"L'Écho": {
|
||||
domain: "lecho.be",
|
||||
referer: "google"
|
||||
|
@ -1,62 +1,13 @@
|
||||
{
|
||||
"Corriere dello Sport": {
|
||||
"domain": "corrieredellosport.it",
|
||||
"allow_cookies": 1,
|
||||
"amp_redirect": "div[class^=\"MainTextTruncated_paragraph__\"]",
|
||||
"new_site": 1
|
||||
},
|
||||
"Estado de Minas": {
|
||||
"domain": "em.com.br",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js",
|
||||
"amp_redirect": ".news-blocked-content",
|
||||
"amp_unhide": 1,
|
||||
"cs_code": [{
|
||||
"cond": ".compress-text",
|
||||
"rm_class": "compress-text"
|
||||
}
|
||||
],
|
||||
"new_site": 1
|
||||
},
|
||||
"SlideShare": {
|
||||
"domain": "slideshare.net",
|
||||
"L'Avenir": {
|
||||
"domain": "lavenir.net",
|
||||
"allow_cookies": 1,
|
||||
"cs_code": [{
|
||||
"cond": ".limit-overlay",
|
||||
"rm_class": "limit-overlay"
|
||||
}
|
||||
],
|
||||
"new_site": 1
|
||||
},
|
||||
"The Financial Express": {
|
||||
"domain": "financialexpress.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.financialexpress\\.com\\/.+\\/min\\/premiumStoryContent\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
|
||||
"cs_code": [{
|
||||
"cond": ".paywall",
|
||||
"rm_class": "paywall"
|
||||
}
|
||||
],
|
||||
"new_site": 1
|
||||
},
|
||||
"The Irish Times": {
|
||||
"domain": "irishtimes.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.irishtimes\\.com\\/zephr\\/features"
|
||||
},
|
||||
"Quartz": {
|
||||
"domain": "qz.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.tinypass\\.com\\/",
|
||||
"cs_code": [{
|
||||
"cond": "div#email-content[class]",
|
||||
"rm_attrib": "class",
|
||||
"cond": "div.is-preview",
|
||||
"rm_elem": 1,
|
||||
"elems": [{
|
||||
"cond": "div.BBwe2.RXsUp",
|
||||
"rm_elem": 1
|
||||
}, {
|
||||
"cond": "iframe[scrolling]",
|
||||
"rm_attrib": "scrolling"
|
||||
"cond": "div.is-hidden",
|
||||
"rm_class": "is-hidden"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user