mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-12 01:10:24 +00:00
Fix NHST Media Group
This commit is contained in:
parent
47b40061df
commit
5a7a99a0e8
@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||||||
Post-release
|
Post-release
|
||||||
Add Aachener Nachrichten & Zeitung
|
Add Aachener Nachrichten & Zeitung
|
||||||
Add NK News (free articles only)
|
Add NK News (free articles only)
|
||||||
|
Fix NHST Media Group
|
||||||
|
|
||||||
* v2.8.6.0 (2022-09-25)
|
* v2.8.6.0 (2022-09-25)
|
||||||
Add Groupe Centre France (opt-in to custom sites)
|
Add Groupe Centre France (opt-in to custom sites)
|
||||||
|
@ -1171,7 +1171,7 @@ else if (matchDomain('elle.fr')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain(fr_be_groupe_rossel)) {
|
else if (matchDomain(fr_be_groupe_rossel)) {
|
||||||
let ads = document.querySelectorAll('div[id^="article_"], r-pub');
|
let ads = document.querySelectorAll('div[id^="article_"], r-pub, div#rossel-leader-top');
|
||||||
removeDOMElement(...ads);
|
removeDOMElement(...ads);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3873,8 +3873,9 @@ else if (matchDomain(no_nhst_media_domains)) {
|
|||||||
window.setTimeout(function () {
|
window.setTimeout(function () {
|
||||||
let paywall = document.querySelector('iframe#paywall-iframe');
|
let paywall = document.querySelector('iframe#paywall-iframe');
|
||||||
if (paywall && dompurify_loaded) {
|
if (paywall && dompurify_loaded) {
|
||||||
|
let intro = document.querySelector('div.global-article-selector');
|
||||||
let article = paywall.parentNode;
|
let article = paywall.parentNode;
|
||||||
removeDOMElement(paywall);
|
removeDOMElement(paywall, intro);
|
||||||
fetch(url)
|
fetch(url)
|
||||||
.then(response => {
|
.then(response => {
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
Loading…
Reference in New Issue
Block a user