Fix Neue Osnabrucker Zeitung (amp)
This commit is contained in:
parent
bb30ba96c3
commit
4ce9504093
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Fix Lequipe.fr (json)
|
||||
Fix Neue Osnabrucker Zeitung (amp)
|
||||
|
||||
* v2.5.6.0 (2022-02-13)
|
||||
Add Condé Nast magazines & Vogue Business
|
||||
|
@ -600,8 +600,7 @@ else if (matchDomain('mz.de')) {
|
||||
}
|
||||
|
||||
else if (matchDomain(['noz.de', 'nwzonline.de', 'shz.de', 'svz.de'])) {
|
||||
let url = window.location.href;
|
||||
if (url.includes('?amp') || url.includes('-amp.html')) {
|
||||
if (window.location.pathname.match(/(-amp\.html|\/amp)$/)) {
|
||||
amp_unhide_access_hide('="NOT data.reduced"', '="data.reduced"', 'amp-ad, amp-embed, #flying-carpet-wrapper');
|
||||
} else {
|
||||
let paywall = document.querySelector('.paywall, .story--premium__container');
|
||||
@ -1165,7 +1164,7 @@ else if (matchDomain('lequipe.fr')) {
|
||||
article_dom = parser.parseFromString('<div style="margin:20px; font-famile:"DINNextLTPro-Regular",sans-serif; fot-size:18px;">' + DOMPurify.sanitize(article_text) + '</div>', 'text/html');
|
||||
article.appendChild(article_dom.querySelector('div'));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -39,5 +39,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.5.6.1"
|
||||
"version": "2.5.6.2"
|
||||
}
|
||||
|
@ -608,5 +608,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.5.6.1"
|
||||
"version": "2.5.6.2"
|
||||
}
|
||||
|
@ -72,6 +72,12 @@
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|ad)-.+\\.mjs)"
|
||||
},
|
||||
"Neue Osnabrücker Zeitung": {
|
||||
"domain": "noz.de",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|(sticky-)?ad|fx-flying-carpet)-.+\\.js",
|
||||
"amp_unhide": 1
|
||||
},
|
||||
"New York Magazine (+ Curbed, Grub Street, The Cut & Vulture)": {
|
||||
"domain": "###_usa_nymag",
|
||||
"group": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user