mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-12 01:10:24 +00:00
Add Humanite.fr
This commit is contained in:
parent
9cba386735
commit
99cbc51164
@ -429,6 +429,7 @@ Grouped in options:\
|
||||
[L'Écho](https://lecho.be) -
|
||||
[L'Équipe](https://www.lequipe.fr) -
|
||||
[L'Express](https://www.lexpress.fr) -
|
||||
[L'Humanité](https://www.humanite.fr) -
|
||||
[L'Obs](https://www.nouvelobs.com) -
|
||||
[L'Oeil de la Photographie (fr/en)](https://loeildelaphotographie.com) -
|
||||
[L'Opinion](https://www.lopinion.fr) -
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Add Humanite.fr
|
||||
Remove Daily Nation (no paywall)
|
||||
Fix ABC.es (Sevilla)
|
||||
Fix ESPN USA (link to archive.is)
|
||||
|
@ -1256,6 +1256,19 @@ else if (matchDomain('franc-tireur.fr')) {
|
||||
removeDOMElement(paywall);
|
||||
}
|
||||
|
||||
else if (matchDomain('humanite.fr')) {
|
||||
if (window.location.search.startsWith('?amp')) {
|
||||
let qiota_script = document.querySelector('amp-script[src^="https://www.qiota.com/"]');
|
||||
if (qiota_script) {
|
||||
let amphtml_fill_content = qiota_script.querySelector('div.i-amphtml-fill-content');
|
||||
if (amphtml_fill_content)
|
||||
amphtml_fill_content.removeAttribute('class');
|
||||
let i_amphtml_sizer = qiota_script.querySelector('i-amphtml-sizer');
|
||||
removeDOMElement(i_amphtml_sizer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('journaldunet.com')) {
|
||||
let reg_wall = document.querySelector('.reg_wall');
|
||||
removeDOMElement(reg_wall);
|
||||
|
@ -275,6 +275,7 @@
|
||||
"*://*.houstonchronicle.com/*",
|
||||
"*://*.hoy.es/*",
|
||||
"*://*.huffingtonpost.it/*",
|
||||
"*://*.humanite.fr/*",
|
||||
"*://*.humo.be/*",
|
||||
"*://*.ideal.es/*",
|
||||
"*://*.ijmuidercourant.nl/*",
|
||||
@ -719,5 +720,5 @@
|
||||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.8.9.3"
|
||||
"version": "2.8.9.4"
|
||||
}
|
||||
|
5
sites.js
5
sites.js
@ -969,6 +969,11 @@ var defaultSites = {
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.qiota\.com\//
|
||||
},
|
||||
"L'Humanité": {
|
||||
domain: "humanite.fr",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.qiota\.com\//
|
||||
},
|
||||
"L'Obs": {
|
||||
domain: "nouvelobs.com",
|
||||
allow_cookies: 1,
|
||||
|
@ -42,6 +42,11 @@
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.tinypass\\.com\\/"
|
||||
},
|
||||
"L'Humanité": {
|
||||
"domain": "humanite.fr",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.qiota\\.com\\/"
|
||||
},
|
||||
"The Washington Post": {
|
||||
"domain": "washingtonpost.com",
|
||||
"allow_cookies": 1,
|
||||
|
Loading…
Reference in New Issue
Block a user