Add AlternativesEconomiques.fr
This commit is contained in:
parent
1e79b8c692
commit
decd8c6fca
@ -186,6 +186,7 @@ Visit the [Firefox repository](https://bitbucket.org/magnolia1234/bypass-paywall
|
||||
[The Times](https://www.thetimes.co.uk) -
|
||||
[The Times Literary Supplement](https://www.the-tls.co.uk)
|
||||
##### France/Wallonia
|
||||
[Alternatives Economiques](https://www.alternatives-economiques.fr) -
|
||||
[Challenges](https://www.challenges.fr) –
|
||||
[Charlie Hebdo](https://charliehebdo.fr) -
|
||||
[L'Écho](https://lecho.be) -
|
||||
|
@ -170,6 +170,7 @@ var use_bing_bot = [
|
||||
var blockedRegexes = {
|
||||
'adweek.com': /.+\.lightboxcdn\.com\/.+/,
|
||||
'afr.com': /afr\.com\/assets\/vendorsReactRedux_client.+\.js/,
|
||||
'alternatives-economiques.fr': /.+\.poool\.fr\/.+/,
|
||||
'americanbanker.com': /.+\.tinypass\.com\/.+/,
|
||||
'barrons.com': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
|
||||
'belfasttelegraph.co.uk': /cdn\.flip-pay\.com\/clients\/inm\/flip-pay\.js/,
|
||||
@ -246,6 +247,7 @@ var blockedRegexes = {
|
||||
'science-et-vie.com': /.+\.qiota\.com\/.+/,
|
||||
'sciencesetavenir.fr': /.+\.poool\.fr\/.+/,
|
||||
'scmp.com': /.+\.tinypass\.com\/.+/,
|
||||
'seekingalpha.com': /.+\.tinypass\.com\/.+/,
|
||||
'sfchronicle.com': /.+\.blueconic\.net\/.+/,
|
||||
'slate.com': /(cdn\.cxense\.com\/.+|.+\.tinypass\.com\/.+)/,
|
||||
'sloanreview.mit.edu': /(cdn\.tinypass\.com\/.+|.+\/sloanreview\.mit\.edu\/.+\/welcome-ad\.js)/,
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Add AlternativesEconomiques.fr
|
||||
Add La Estrella de Valparaiso (Chile)
|
||||
Fix-update Folha de S. Paulo (MatherAnalytics)
|
||||
Fix-update Gazet van Antwerpen (video/maps)
|
||||
|
@ -1530,6 +1530,16 @@ else if (matchDomain('deutsche-wirtschafts-nachrichten.de')) {
|
||||
}, 500); // Delay (in milliseconds)
|
||||
}
|
||||
|
||||
else if (matchDomain("alternatives-economiques.fr")) {
|
||||
window.setTimeout(function () {
|
||||
let paywall = document.querySelector('#temp-paywall');
|
||||
removeDOMElement(paywall);
|
||||
let data_ae_poool = document.querySelector('div[data-ae-poool]');
|
||||
if (data_ae_poool)
|
||||
data_ae_poool.removeAttribute('style');
|
||||
}, 500); // Delay (in milliseconds)
|
||||
}
|
||||
|
||||
// General Functions
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
@ -32,6 +32,7 @@
|
||||
"*://*.adweek.com/*",
|
||||
"*://*.afr.com/*",
|
||||
"*://*.aftonbladet.se/*",
|
||||
"*://*.alternatives-economiques.fr/*",
|
||||
"*://*.americanaffairsjournal.org/*",
|
||||
"*://*.americanbanker.com/*",
|
||||
"*://*.asia.nikkei.com/*",
|
||||
|
1
sites.js
1
sites.js
@ -4,6 +4,7 @@ var defaultSites =
|
||||
"Adweek": "adweek.com",
|
||||
"Aftonbladet": "aftonbladet.se",
|
||||
"Algemeen Dagblad (+ regional)": "ad.nl",
|
||||
"Alternatives Economiques": "alternatives-economiques.fr",
|
||||
"American Affairs": "americanaffairsjournal.org",
|
||||
"American Banker": "americanbanker.com",
|
||||
"Atavist Magazine": "atavist.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user