Add CharlieHebdo.fr
This commit is contained in:
parent
fd91f3c066
commit
1b86fd8dab
@ -205,6 +205,7 @@ Visit the [Firefox repository](https://bitbucket.org/magnolia1234/bypass-paywall
|
||||
[The Times Literary Supplement](https://www.the-tls.co.uk)
|
||||
##### France/Wallonia
|
||||
[Challenges](https://www.challenges.fr) –
|
||||
[Charlie Hebdo](https://charliehebdo.fr) -
|
||||
[L'Écho](https://lecho.be) -
|
||||
[L'Opinion](https://www.lopinion.fr) –
|
||||
[La Dépêche](https://www.ladepeche.fr) –
|
||||
@ -309,7 +310,7 @@ _*free articles only._
|
||||
|
||||
### Sites with limited number of free articles
|
||||
The free article limit can normally be bypassed by removing cookies for the site.*
|
||||
1. Install the extension [Disable Cookies](https://chrome.google.com/webstore/detail/disable-cookies/lkmjmficaoifggpfapbffkggecbleang?hl=en).
|
||||
1. Install the extension [Cookie Remover](https://chrome.google.com/webstore/detail/cookie-remover/kcgpggonjhmeaejebeoeomdlohicfhce) or [Disable Cookies](https://chrome.google.com/webstore/detail/disable-cookies/lkmjmficaoifggpfapbffkggecbleang?hl=en).
|
||||
2. When coming across a paywall, click the cookie icon in your extension toolbar then refresh the page.
|
||||
|
||||
If removing the cookies works you can also add the site as a custom site.
|
||||
|
@ -142,6 +142,7 @@ var blockedRegexes = {
|
||||
'bostonglobe.com': /meter\.bostonglobe\.com\/js\/.+/,
|
||||
'businessinsider.com': /.+\.tinypass\.com\/.+/,
|
||||
'challenges.fr': /.+\.poool\.fr\/.+/,
|
||||
'charliehebdo.fr': /.+\.poool\.fr\/.+/,
|
||||
'chicagobusiness.com': /.+\.tinypass\.com\/.+/,
|
||||
'chicagotribune.com': /.+:\/\/.+\.tribdss\.com\/.+/,
|
||||
'clarin.com': /js\.matheranalytics\.com\/.+/,
|
||||
|
@ -872,6 +872,15 @@ else if (matchDomain("sueddeutsche.de")) {
|
||||
});
|
||||
}
|
||||
|
||||
else if (matchDomain("charliehebdo.fr")) {
|
||||
let paywalled_content = document.querySelector('div.ch-paywalled-content');
|
||||
if (paywalled_content)
|
||||
paywalled_content.removeAttribute('style');
|
||||
let poool_widget = document.querySelector('div#poool-widget');
|
||||
removeDOMElement(poool_widget);
|
||||
}
|
||||
|
||||
|
||||
// General Functions
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
@ -51,6 +51,7 @@
|
||||
"*://*.cen.acs.org/*",
|
||||
"*://*.centralwesterndaily.com.au/*",
|
||||
"*://*.challenges.fr/*",
|
||||
"*://*.charliehebdo.fr/*",
|
||||
"*://*.chicagobusiness.com/*",
|
||||
"*://*.chicagotribune.com/*",
|
||||
"*://*.clarin.com/*",
|
||||
|
1
sites.js
1
sites.js
@ -20,6 +20,7 @@ var defaultSites =
|
||||
"Business Standard": "business-standard.com",
|
||||
"Caixin Global": "caixinglobal.com",
|
||||
"Challenges": "challenges.fr",
|
||||
"Charlie Hebdo": "charliehebdo.fr",
|
||||
"Chemical & Engineering News": "cen.acs.org",
|
||||
"Chicago Tribune": "chicagotribune.com",
|
||||
"Clarín": "clarin.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user