mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:21:58 +01:00
Fix NHST Media Group
This commit is contained in:
parent
47b40061df
commit
5a7a99a0e8
2 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
Post-release
|
||||
Add Aachener Nachrichten & Zeitung
|
||||
Add NK News (free articles only)
|
||||
Fix NHST Media Group
|
||||
|
||||
* v2.8.6.0 (2022-09-25)
|
||||
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)) {
|
||||
let ads = document.querySelectorAll('div[id^="article_"], r-pub');
|
||||
let ads = document.querySelectorAll('div[id^="article_"], r-pub, div#rossel-leader-top');
|
||||
removeDOMElement(...ads);
|
||||
}
|
||||
|
||||
|
@ -3873,8 +3873,9 @@ else if (matchDomain(no_nhst_media_domains)) {
|
|||
window.setTimeout(function () {
|
||||
let paywall = document.querySelector('iframe#paywall-iframe');
|
||||
if (paywall && dompurify_loaded) {
|
||||
let intro = document.querySelector('div.global-article-selector');
|
||||
let article = paywall.parentNode;
|
||||
removeDOMElement(paywall);
|
||||
removeDOMElement(paywall, intro);
|
||||
fetch(url)
|
||||
.then(response => {
|
||||
if (response.ok) {
|
||||
|
|
Loading…
Reference in a new issue