Fix Groupe IPM

This commit is contained in:
magnolia1234 2023-04-19 18:18:59 +02:00
parent d5d0aab5b4
commit 9f808dcf7c
5 changed files with 14 additions and 93 deletions

View file

@ -1,8 +1,9 @@
Changelog Bypass Paywalls Clean - Firefox
Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Fix Groupe IPM
Fix StuDocu (banner)
* v3.1.4.1 (2023-04-17)
@ -38,10 +39,8 @@ Fix TownNews sites (js)
Fix ZeroHedge (timing)
* v3.1.1.0 (2023-03-26)
Add Flair.nl
Add Flair.nl, Libelle.nl & Margriet.nl
Add Le Figaro (link to archive.is)
Add Libelle.nl
Add Margriet.nl
Add Revue Conflits
Add Sport Life Iberica (opt-in to custom sites)
Remove Cellesche Zeitung (fix obsolete)

View file

@ -1411,7 +1411,7 @@ else if (matchDomain(fr_be_groupe_rossel)) {
}
}
let ads = document.querySelectorAll('div[id^="article_"], r-pub, div#rossel-leader-top');
removeDOMElement(...ads);
hideDOMElement(...ads);
}
else if (matchDomain(fr_groupe_ebra_domains)) {
@ -1468,7 +1468,7 @@ else if (matchDomain(fr_groupe_nice_matin_domains)) {
paywall.removeAttribute('id');
}
let ads = document.querySelectorAll('div[class^="ad-slot-"]');
removeDOMElement(...ads);
hideDOMElement(...ads);
}
else if (matchDomain('franc-tireur.fr')) {
@ -1613,7 +1613,7 @@ else if (matchDomain('lepoint.fr')) {
}
window.setTimeout(function () {
let ads = document.querySelectorAll('#WRAP_BAN_ATF, .StickyPaywall, .slotpub, .sticky-block');
removeDOMElement(...ads);
hideDOMElement(...ads);
}, 1000);
}
@ -1679,7 +1679,7 @@ else if (matchDomain('lesinrocks.com')) {
else if (matchDomain('lexpress.fr')) {
let ads = document.querySelectorAll('div[class^="block_pub"], div.bottom-bar-full, div.tead, div.ban-bottom, div.placeholder--ban-atf');
removeDOMElement(...ads);
hideDOMElement(...ads);
}
else if (matchDomain('loeildelaphotographie.com')) {
@ -1715,6 +1715,9 @@ else if (matchDomain('marianne.net')) {
else if (matchDomain('nouvelobs.com')) {
let paywall = document.querySelector('.paywall');
removeDOMElement(paywall);
let fade = document.querySelector('div.paywall--gradient-top');
if (fade)
fade.classList.remove('paywall--gradient-top');
}
else if (matchDomain('science-et-vie.com')) {
@ -1746,7 +1749,7 @@ else if (matchDomain(['sudouest.fr', 'charentelibre.fr', 'larepubliquedespyrenee
window.setTimeout(function () {
let footer_premium = document.querySelector('.footer-premium');
let ads = document.querySelectorAll('div.pub, div.ph-easy-subscription');
removeDOMElement(footer_premium, ...ads);
hideDOMElement(footer_premium, ...ads);
}, 500);
}
@ -2048,7 +2051,7 @@ if (matchDomain(be_groupe_ipm_domains)) {
}, 1000);
}
let ads = document.querySelectorAll('div.ap-AdContainer, div.ap-Outbrain');
removeDOMElement(...ads);
hideDOMElement(...ads);
}
else if (matchDomain('fd.nl')) {

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.1.4.2"
"version": "3.1.4.3"
}

View file

@ -754,5 +754,5 @@
"*://html.onlineviewer.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.1.4.2"
"version": "3.1.4.3"
}

View file

@ -1,9 +1,4 @@
{
"Automobilwoche": {
"domain": "automobilwoche.de",
"allow_cookies": 1,
"block_regex": "\\.automobilwoche\\.de\\/s3fs-public\\/js\\/js_nCw.+\\.js"
},
"Berlingske": {
"domain": "berlingske.dk",
"allow_cookies": 1,
@ -14,12 +9,6 @@
"allow_cookies": 1,
"useragent": "googlebot"
},
"DH Les Sports+": {
"domain": "dhnet.be",
"allow_cookies": 1,
"block_regex": "(\\.piano\\.io\\/xbuilder\\/experience\\/execute|cdn\\.cxense\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
"cs_code": "[{\"cond\":\".is-preview\",\"rm_class\":\"is-preview\"},{\"cond\":\".is-hidden\",\"rm_class\":\"is-hidden\"}]"
},
"El Observador.com.uy": {
"domain": "elobservador.com.uy",
"allow_cookies": 1,
@ -33,89 +22,19 @@
"allow_cookies": 1,
"block_regex": "(\\.elpais\\.com\\.uy\\/user\\/authStatus|\\.evolok\\.net\\/|cdn\\.cxense\\.com\\/)"
},
"Epicurious": {
"domain": "epicurious.com",
"allow_cookies": 1,
"remove_cookies": 1,
"block_regex": "(\\.epicurious\\.com\\/journey\\/compiler\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
"useragent": "googlebot"
},
"Flair.nl": {
"domain": "flair.nl",
"remove_cookies_select_drop": ["TID_ID"],
"block_regex": "(\\.flair\\.nl\\/temptation\\/resolve|temptation\\.flair\\.nl\\/temptation\\.js)"
},
"La Diaria.com.uy": {
"domain": "ladiaria.com.uy",
"allow_cookies": 1,
"useragent": "googlebot"
},
"La Libre.be": {
"domain": "lalibre.be",
"allow_cookies": 1,
"block_regex": "(\\.piano\\.io\\/xbuilder\\/experience\\/execute|cdn\\.cxense\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
"cs_code": "[{\"cond\":\".is-preview\",\"rm_class\":\"is-preview\"},{\"cond\":\".is-hidden\",\"rm_class\":\"is-hidden\"}]"
},
"Le Figaro (link to archive.is)": {
"domain": "lefigaro.fr",
"allow_cookies": 1,
"add_ext_link": "div#fig-premium-paywall|article",
"add_ext_link_type": "archive.is",
"new_site": 1
},
"Le Grand Continent": {
"domain": "legrandcontinent.eu",
"allow_cookies": 1,
"cs_code": "[{\"cond\":\"body.paywall,body.pw,body.softwall\",\"rm_class\":\"paywall,pw,softwall\"},{\"cond\":\"div#fix-pw,div.disposableBanner\",\"rm_elem\":1}]",
"new_site": 1
},
"Libelle.nl": {
"domain": "libelle.nl",
"remove_cookies_select_drop": ["TID_ID"],
"block_regex": "(\\.libelle\\.nl\\/temptation\\/resolve|temptation\\.libelle\\.nl\\/temptation\\.js)"
},
"Margriet.nl": {
"domain": "margriet.nl",
"remove_cookies_select_drop": ["TID_ID"],
"block_regex": "(\\.margriet\\.nl\\/temptation\\/resolve|temptation\\.margriet\\.nl\\/temptation\\.js)"
},
"Nautilus": {
"domain": "nautil.us",
"remove_cookies_select_drop": ["arc", "sfa"]
},
"Revue Conflits": {
"domain": "revueconflits.com",
"allow_cookies": 1,
"block_regex": "\\.qiota\\.com\\/data"
},
"TagesAnzeiger.ch (link to archive.is)": {
"domain": "tagesanzeiger.ch",
"allow_cookies": 1,
"block_regex": "\\.piano\\.io\\/xbuilder\\/experience\\/execute",
"add_ext_link": "div#piano-premium > div|article p",
"add_ext_link_type": "archive.is",
"new_site": 1
},
"The Art Newspaper": {
"domain": "theartnewspaper.com",
"allow_cookies": 1,
"block_regex": "\\.theartnewspaper\\.com\\/_next\\/static\\/chunks\\/pages\\/access-allowed-.+\\.js"
},
"The New Republic": {
"domain": "newrepublic.com",
"allow_cookies": 1,
"block_regex": "\\/blink\\.net\\/.+\\/blink-sdk\\.js",
"cs_code": "[{\"cond\":\"div.article-scheduled-modal\",\"rm_elem\":1}]"
},
"The New York Times": {
"domain": "nytimes.com",
"allow_cookies": 1,
"block_regex": "(\\.nytimes\\.com\\/meter\\.js|mwcm\\.nyt\\.com\\/.+\\.js|cooking\\.nytimes\\.com\\/api\\/.+\\/access)",
"useragent": "googlebot"
},
"The Spectator World - new domain": {
"domain": "thespectator.com",
"allow_cookies": 1,
"block_regex": "\\.tinypass\\.com/"
}
}