mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-12 01:10:24 +00:00
Add Elle.fr
This commit is contained in:
parent
6dbbe24f76
commit
5e7b691e69
@ -287,6 +287,7 @@ Grouped in options:\
|
|||||||
[Atlantico](https://atlantico.fr) -
|
[Atlantico](https://atlantico.fr) -
|
||||||
[Challenges](https://www.challenges.fr) -
|
[Challenges](https://www.challenges.fr) -
|
||||||
[Charlie Hebdo](https://charliehebdo.fr) -
|
[Charlie Hebdo](https://charliehebdo.fr) -
|
||||||
|
[Elle](https://www.elle.fr) -
|
||||||
[Esprit](https://esprit.presse.fr) -
|
[Esprit](https://esprit.presse.fr) -
|
||||||
[L'Express](https://www.lexpress.fr) -
|
[L'Express](https://www.lexpress.fr) -
|
||||||
[L'Obs](https://www.nouvelobs.com) -
|
[L'Obs](https://www.nouvelobs.com) -
|
||||||
|
@ -71,6 +71,7 @@ var allow_cookies_default = [
|
|||||||
'elcomercio.pe',
|
'elcomercio.pe',
|
||||||
'elconfidencial.com',
|
'elconfidencial.com',
|
||||||
'elespanol.com',
|
'elespanol.com',
|
||||||
|
'elle.fr',
|
||||||
'elmercurio.com',
|
'elmercurio.com',
|
||||||
'elpais.com',
|
'elpais.com',
|
||||||
'elperiodico.com',
|
'elperiodico.com',
|
||||||
@ -313,6 +314,7 @@ var blockedRegexes = {
|
|||||||
'elcomercio.pe': /\/elcomercio\.pe\/pf\/dist\/engine\/react\.js/,
|
'elcomercio.pe': /\/elcomercio\.pe\/pf\/dist\/engine\/react\.js/,
|
||||||
'elconfidencial.com': /\.tinypass\.com\//,
|
'elconfidencial.com': /\.tinypass\.com\//,
|
||||||
'elespanol.com': /\.eestatic\.com\/assets_js\/web\/v\d\/historia.*\.min\.js/,
|
'elespanol.com': /\.eestatic\.com\/assets_js\/web\/v\d\/historia.*\.min\.js/,
|
||||||
|
'elle.fr': /\.poool\.fr\//,
|
||||||
'elmercurio.com': /\.(elmercurio\.com|emol\.cl)\/(.+\/)?js\/(.+\/)?(modal|merPramV\d|PramModal\.min)\.js/,
|
'elmercurio.com': /\.(elmercurio\.com|emol\.cl)\/(.+\/)?js\/(.+\/)?(modal|merPramV\d|PramModal\.min)\.js/,
|
||||||
'elpais.com': /(\.epimg\.net\/js\/.+\/(noticia|user)\.min\.js|\/elpais\.com\/arc\/subs\/p\.min\.js|cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|consent)-.+\.js)/,
|
'elpais.com': /(\.epimg\.net\/js\/.+\/(noticia|user)\.min\.js|\/elpais\.com\/arc\/subs\/p\.min\.js|cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|consent)-.+\.js)/,
|
||||||
'elperiodico.com': /cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js/,
|
'elperiodico.com': /cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js/,
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
Changelog Bypass Paywalls Clean - Firefox
|
Changelog Bypass Paywalls Clean - Firefox
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Add Elle.fr
|
||||||
Add Marianne (France)
|
Add Marianne (France)
|
||||||
Remove Irish Times (obsolete)
|
Remove Irish Times (obsolete)
|
||||||
Remove Sueddeutsche Zeitung (obsolete)
|
Remove Sueddeutsche Zeitung (obsolete)
|
||||||
|
@ -833,6 +833,14 @@ else if (matchDomain('charliehebdo.fr')) {
|
|||||||
}, 500); // Delay (in milliseconds)
|
}, 500); // Delay (in milliseconds)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain('elle.fr')) {
|
||||||
|
let hidden_images = document.querySelectorAll('img[src^="data:image/"][data-src]');
|
||||||
|
for (let hidden_image of hidden_images)
|
||||||
|
hidden_image.setAttribute('src', hidden_image.getAttribute('data-src'));
|
||||||
|
let subscription_bar = document.querySelector('.tc-subscription-bar');
|
||||||
|
removeDOMElement(subscription_bar);
|
||||||
|
}
|
||||||
|
|
||||||
else if (matchDomain('esprit.presse.fr')) {
|
else if (matchDomain('esprit.presse.fr')) {
|
||||||
let paywall = document.querySelector('.panel-popup-paywall');
|
let paywall = document.querySelector('.panel-popup-paywall');
|
||||||
removeDOMElement(paywall);
|
removeDOMElement(paywall);
|
||||||
@ -1922,13 +1930,10 @@ else if (matchDomain('foreignaffairs.com')) {
|
|||||||
let article_dropcap = document.querySelectorAll('.article-dropcap');
|
let article_dropcap = document.querySelectorAll('.article-dropcap');
|
||||||
for (let elem of article_dropcap)
|
for (let elem of article_dropcap)
|
||||||
elem.classList.add('loaded');
|
elem.classList.add('loaded');
|
||||||
let hidden_images = document.querySelectorAll('img[src^="data:image/"]');
|
let hidden_images = document.querySelectorAll('img[src^="data:image/"][data-src]');
|
||||||
for (let hidden_image of hidden_images) {
|
for (let hidden_image of hidden_images) {
|
||||||
let data_src = hidden_image.getAttribute('data-src');
|
hidden_image.setAttribute('src', hidden_image.getAttribute('data-src'));
|
||||||
if (data_src) {
|
hidden_image.removeAttribute('class');
|
||||||
hidden_image.setAttribute('src', data_src);
|
|
||||||
hidden_image.removeAttribute('class');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
let img_list = document.querySelectorAll('.magazine-list-article img');
|
let img_list = document.querySelectorAll('.magazine-list-article img');
|
||||||
for (let img_elem of img_list)
|
for (let img_elem of img_list)
|
||||||
|
@ -163,6 +163,7 @@
|
|||||||
"*://*.eldiario.es/*",
|
"*://*.eldiario.es/*",
|
||||||
"*://*.eldiariomontanes.es/*",
|
"*://*.eldiariomontanes.es/*",
|
||||||
"*://*.elespanol.com/*",
|
"*://*.elespanol.com/*",
|
||||||
|
"*://*.elle.fr/*",
|
||||||
"*://*.elmercurio.com/*",
|
"*://*.elmercurio.com/*",
|
||||||
"*://*.elmundo.es/*",
|
"*://*.elmundo.es/*",
|
||||||
"*://*.elnortedecastilla.es/*",
|
"*://*.elnortedecastilla.es/*",
|
||||||
@ -555,5 +556,5 @@
|
|||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://*.wsj.net/*"
|
"*://*.wsj.net/*"
|
||||||
],
|
],
|
||||||
"version": "2.4.0.6"
|
"version": "2.4.0.7"
|
||||||
}
|
}
|
1
sites.js
1
sites.js
@ -63,6 +63,7 @@ var defaultSites =
|
|||||||
"El Mundo": "elmundo.es",
|
"El Mundo": "elmundo.es",
|
||||||
"El País": "elpais.com",
|
"El País": "elpais.com",
|
||||||
"El Periódico (de Catalunya)": "elperiodico.com",
|
"El Periódico (de Catalunya)": "elperiodico.com",
|
||||||
|
"Elle.fr": "elle.fr",
|
||||||
"Encyclopedia Britannica": "britannica.com",
|
"Encyclopedia Britannica": "britannica.com",
|
||||||
"Entrepreneur": "entrepreneur.com",
|
"Entrepreneur": "entrepreneur.com",
|
||||||
"Esprit": "esprit.presse.fr",
|
"Esprit": "esprit.presse.fr",
|
||||||
|
Loading…
Reference in New Issue
Block a user