Fix-update Atlantico.fr
parent
90e7faf1d7
commit
ef12ad9d36
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
|
|||
|
||||
Post-release
|
||||
Remove The Northern Star (obsolete)
|
||||
Fix-update Atlantico.fr
|
||||
Fix-update Boston Globe (no opt-in)
|
||||
Fix-update Foreign Policy
|
||||
Fix-update The Spectator UK (amp)
|
||||
|
|
|
@ -729,7 +729,7 @@ if (matchDomain('alternatives-economiques.fr')) {
|
|||
}
|
||||
|
||||
else if (matchDomain('atlantico.fr')) {
|
||||
let paywall = document.querySelector('div.markup');
|
||||
let paywall = document.querySelector('div.markup[class*="Paywall"]');
|
||||
if (paywall)
|
||||
paywall.setAttribute('class', 'markup');
|
||||
}
|
||||
|
@ -1347,7 +1347,10 @@ else if (matchDomain('telegraaf.nl')) {
|
|||
removeDOMElement(article_body_old);
|
||||
let json = document.querySelector('script[type="application/ld+json"][data-react-helmet="true"]');
|
||||
if (json) {
|
||||
var json_text = JSON.parse(json.text).articleBody;
|
||||
let json_text = JSON.parse(json.text).articleBody;
|
||||
let intro = document.querySelector('span[id^="articleIntro"]');
|
||||
if (intro)
|
||||
json_text = json_text.replace(intro.innerText + '\n\n', '');
|
||||
let article_body = document.querySelector('section.TextArticlePage__bodyText');
|
||||
if (article_body) {
|
||||
let div_main = document.createElement('div');
|
||||
|
|
|
@ -30,5 +30,5 @@
|
|||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.2.5.3"
|
||||
"version": "2.2.5.4"
|
||||
}
|
|
@ -513,5 +513,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.2.5.3"
|
||||
"version": "2.2.5.4"
|
||||
}
|
Loading…
Reference in New Issue