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
|
Post-release
|
||||||
Fix Lequipe.fr (json)
|
Fix Lequipe.fr (json)
|
||||||
|
Fix Neue Osnabrucker Zeitung (amp)
|
||||||
|
|
||||||
* v2.5.6.0 (2022-02-13)
|
* v2.5.6.0 (2022-02-13)
|
||||||
Add Condé Nast magazines & Vogue Business
|
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'])) {
|
else if (matchDomain(['noz.de', 'nwzonline.de', 'shz.de', 'svz.de'])) {
|
||||||
let url = window.location.href;
|
if (window.location.pathname.match(/(-amp\.html|\/amp)$/)) {
|
||||||
if (url.includes('?amp') || url.includes('-amp.html')) {
|
|
||||||
amp_unhide_access_hide('="NOT data.reduced"', '="data.reduced"', 'amp-ad, amp-embed, #flying-carpet-wrapper');
|
amp_unhide_access_hide('="NOT data.reduced"', '="data.reduced"', 'amp-ad, amp-embed, #flying-carpet-wrapper');
|
||||||
} else {
|
} else {
|
||||||
let paywall = document.querySelector('.paywall, .story--premium__container');
|
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_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'));
|
article.appendChild(article_dom.querySelector('div'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,5 +39,5 @@
|
|||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"<all_urls>"
|
"<all_urls>"
|
||||||
],
|
],
|
||||||
"version": "2.5.6.1"
|
"version": "2.5.6.2"
|
||||||
}
|
}
|
||||||
|
@ -608,5 +608,5 @@
|
|||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://*.wsj.net/*"
|
"*://*.wsj.net/*"
|
||||||
],
|
],
|
||||||
"version": "2.5.6.1"
|
"version": "2.5.6.2"
|
||||||
}
|
}
|
||||||
|
@ -72,6 +72,12 @@
|
|||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|ad)-.+\\.mjs)"
|
"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)": {
|
"New York Magazine (+ Curbed, Grub Street, The Cut & Vulture)": {
|
||||||
"domain": "###_usa_nymag",
|
"domain": "###_usa_nymag",
|
||||||
"group": [
|
"group": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user