mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-12 01:10:24 +00:00
Fix LesEchos.fr (json)
This commit is contained in:
parent
cc0d636cfb
commit
a9a60a738f
34
README.md
34
README.md
@ -70,22 +70,14 @@ Use adblocker with custom (content)filter: https://gitlab.com/magnolia1234/bypas
|
||||
|
||||
_* free articles only._
|
||||
|
||||
##### World news
|
||||
##### International news
|
||||
[Foreign Affairs](https://www.foreignaffairs.com) -
|
||||
[Foreign Policy](https://www.foreignpolicy.com) -
|
||||
[Harper's Magazine](https://harpers.org) -
|
||||
[Inkl](https://www.inkl.com) -
|
||||
[Newsweek](https://www.newsweek.com) -
|
||||
[Reuters](https://www.reuters.com) -
|
||||
[Stratfor](https://stratfor.com) -
|
||||
[The American Interest](https://www.the-american-interest.com) -
|
||||
[The Atlantic](https://www.theatlantic.com) -
|
||||
[The Christian Science Monitor](https://www.csmonitor.com) -
|
||||
[The Nation](https://www.thenation.com) -
|
||||
[The New Republic](https://newrepublic.com) -
|
||||
[The New York Review of Books](https://www.nybooks.com) -
|
||||
[The New York Times](https://www.nytimes.com) -
|
||||
[The Spectator World](https://spectatorworld.com) -
|
||||
[The Washington Post](https://www.washingtonpost.com) -
|
||||
[Time Magazine](https://time.com)
|
||||
|
||||
@ -112,7 +104,8 @@ _* free articles only._
|
||||
[The Business Journals](https://www.bizjournals.com)* -
|
||||
[The Business of Fashion](https://www.businessoffashion.com) -
|
||||
[The Wall Street Journal](https://www.wsj.com) -
|
||||
[Vogue Business](https://www.voguebusiness.com)
|
||||
[Vogue Business](https://www.voguebusiness.com) -
|
||||
[ZeroHedge](https://www.zerohedge.com)
|
||||
|
||||
Grouped in options:\
|
||||
*California Business Journals* sites like\
|
||||
@ -169,6 +162,12 @@ Grouped in options:\
|
||||
[Statista](https://www.statista.com) -
|
||||
[StuDocu](https://www.studocu.com)
|
||||
|
||||
###### Sports
|
||||
[ESPN USA](https://www.espn.com) -
|
||||
[RugbyPass](https://www.rugbypass.com) -
|
||||
[Sports Illustrated](https://www.si.com) -
|
||||
[The Athletic](https://theathletic.com)
|
||||
|
||||
##### Magazines/Blogs
|
||||
[Medium](https://www.medium.com)\
|
||||
Grouped in options:\
|
||||
@ -182,26 +181,29 @@ Grouped in options:\
|
||||
[Atavist Magazine](https://magazine.atavist.com) -
|
||||
[Axios](https://www.axios.com) -
|
||||
[Commentary Magazine](https://www.commentary.org) -
|
||||
[ESPN USA](https://www.espn.com) -
|
||||
[Field & Stream](https://www.fieldandstream.com) -
|
||||
[First Things](https://www.firstthings.com) -
|
||||
[Harper's Magazine](https://harpers.org) -
|
||||
[National Review](https://www.nationalreview.com) -
|
||||
[Outdoor Life](https://www.outdoorlife.com) -
|
||||
[Project Syndicate (link to archive.is)](https://www.project-syndicate.org) -
|
||||
[Puck.news](https://puck.news) -
|
||||
[RugbyPass](https://www.rugbypass.com) -
|
||||
[Slate](https://slate.com) -
|
||||
[SofRep](https://sofrep.com) -
|
||||
[Sports Illustrated](https://www.si.com) -
|
||||
[The American Interest](https://www.the-american-interest.com) -
|
||||
[The Art Newspaper](https://www.theartnewspaper.com) -
|
||||
[The Athletic](https://theathletic.com) -
|
||||
[The Atlantic](https://www.theatlantic.com) -
|
||||
[The Christian Science Monitor](https://www.csmonitor.com) -
|
||||
[The Intercept](https://theintercept.com) -
|
||||
[The Daily Beast](https://www.thedailybeast.com) -
|
||||
[The Daily Wire](https://www.dailywire.com) -
|
||||
[The Nation](https://www.thenation.com) -
|
||||
[The New Atlantis](https://www.thenewatlantis.com) -
|
||||
[The New Republic](https://newrepublic.com) -
|
||||
[The New York Review of Books](https://www.nybooks.com) -
|
||||
[The Point Magazine](https://thepointmag.com) -
|
||||
[The Wrap](https://www.thewrap.com) -
|
||||
[ZeroHedge](https://www.zerohedge.com)
|
||||
[The Spectator World](https://spectatorworld.com) -
|
||||
[The Wrap](https://www.thewrap.com)
|
||||
|
||||
Grouped in options:\
|
||||
*Condé Nast magazines* sites like\
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Fix LesEchos.fr (json)
|
||||
|
||||
* v3.0.4.0 (2023-02-05)
|
||||
Add Inside Higher Ed
|
||||
|
@ -1633,8 +1633,8 @@ else if (matchDomain('lesechos.fr')) {
|
||||
let state;
|
||||
let split1 = html.split('window.__CONFIG__=')[1];
|
||||
let split2 = split1.split('</script>')[0].trim();
|
||||
if (split2.includes('; window.__DATA__=')) {
|
||||
state = split2.split('; window.__DATA__=')[1].split('; window.__')[0].trim();
|
||||
if (split2.includes('window.__DATA__=')) {
|
||||
state = split2.split('window.__DATA__=')[1].split('};')[0] + '}';
|
||||
} else
|
||||
state = split2.substr(0, split2.length - 1);
|
||||
try {
|
||||
@ -1666,7 +1666,7 @@ else if (matchDomain('lesechos.fr')) {
|
||||
let styleElem = document.head.appendChild(document.createElement('style'));
|
||||
styleElem.innerHTML = ".post-paywall::after {height: auto !important;}";
|
||||
} catch (err) {
|
||||
refreshCurrentTab();
|
||||
console.log(err);
|
||||
}
|
||||
}
|
||||
}, 500);
|
||||
@ -4320,6 +4320,8 @@ else if (matchDomain('time.com')) {
|
||||
let body = document.querySelector('body');
|
||||
if (body && !matchDomain('api.time.com'))
|
||||
body.setAttribute('style', 'position:relative !important;');
|
||||
let ads = document.querySelectorAll('div[id*="inline-ad-"]');
|
||||
removeDOMElement(...ads);
|
||||
}
|
||||
|
||||
else if (matchDomain('timeshighereducation.com')) {
|
||||
@ -4607,6 +4609,8 @@ else if ((domain = matchDomain(usa_mcc_domains)) ||
|
||||
if (premium_link.href.includes('www.'))
|
||||
premium_link.href = premium_link.href.replace('www.', 'amp.');
|
||||
}
|
||||
let ads = document.querySelectorAll('div[id^="zone-el-"]');
|
||||
removeDOMElement(...ads);
|
||||
}
|
||||
|
||||
else if (matchDomain(usa_mng_domains) || (window.location.href.match(/\.com\/(\d){4}\/(\d){2}\/(\d){2}\/.+\/amp\//) && document.querySelector('amp-img#paywall[src*=".com/wp-content/plugins/dfm-amp-mods/"]'))) {
|
||||
|
@ -351,8 +351,7 @@
|
||||
"domain": "spokesman.com"
|
||||
},
|
||||
"Sportsbusinessjournal.com": {
|
||||
"domain": "sportsbusinessjournal.com",
|
||||
"random_ip": "all"
|
||||
"domain": "sportsbusinessjournal.com"
|
||||
},
|
||||
"Stateaffairs.com": {
|
||||
"allow_cookies": 1,
|
||||
@ -430,11 +429,6 @@
|
||||
"block_regex": "\\.toolkits\\.com\\/app\\/js\\/api\\.min\\.js",
|
||||
"domain": "toolkits.com"
|
||||
},
|
||||
"Vigilantcitizen.com": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "vigilantcitizen.com",
|
||||
"random_ip": "all"
|
||||
},
|
||||
"Washingtontimes.com": {
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.tinypass\\.com",
|
||||
|
@ -730,5 +730,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.0.4.0"
|
||||
"version": "3.0.4.1"
|
||||
}
|
||||
|
2
sites.js
2
sites.js
@ -2088,7 +2088,7 @@ var defaultSites = {
|
||||
"Time Magazine": {
|
||||
domain: "time.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\/time\.com\/dist\/meter-wall-client-js\..+\.js|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
||||
block_regex: /(\/time\.com\/dist\/meter-wall-client-js\..+\.js|\.zephr\.com\/zephr-browser\/|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
||||
},
|
||||
"Times Higher Education": {
|
||||
domain: "timeshighereducation.com",
|
||||
|
@ -81,6 +81,7 @@
|
||||
},
|
||||
"The Atlantic": {
|
||||
"domain": "theatlantic.com",
|
||||
"block_regex": "cdn\\.theatlantic\\.com\\/_next\\/static\\/chunks\\/[5-7].+\\.js"
|
||||
"block_regex": "cdn\\.theatlantic\\.com\\/_next\\/static\\/chunks\\/[5-7].+\\.js",
|
||||
"remove_cookies_select_drop": ["articleViews"]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user