Fix Groupe Centre France (identify sites)

merge-requests/17/head
magnolia1234 6 months ago
parent d7d4428155
commit 8a420d228a

@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release
Fix Automobilwoche.de (js)
Fix Groupe Centre France (identify sites)
Fix Harvard Business Review (script)
Fix London Review of Books (js-inline)
Fix National Review (cookies)

@ -2132,7 +2132,7 @@ else if (matchDomain(['sudouest.fr', 'charentelibre.fr', 'larepubliquedespyrenee
}, 500);
}
else if (matchDomain('lamontagne.fr') || document.querySelector('ul.list-inline > li > a[href="https://www.centrefrance.com/"]')) {// Groupe Centre France
else if (matchDomain('lamontagne.fr') || document.querySelector('head > meta[name="google-play-app"][content^="app-id=com.centrefrance"]')) {// Groupe Centre France
let paywall = document.querySelector('div#poool-widget');
if (paywall) {
removeDOMElement(paywall);

@ -83,7 +83,7 @@ window.setTimeout(function () {
if (document.querySelector('head > link[href^="https://assets.almatalent.fi"]'))
group = '###_fi_alma_talent';// no fix
} else if (hostname.endsWith('.fr')) {
if (document.querySelector('head > link[href*=".fr/static/bloc/ripolinage/header/cf-header/"]'))
if (document.querySelector('head > meta[name="google-play-app"][content^="app-id=com.centrefrance"]'))
group = '###_fr_gcf';
} else if (hostname.endsWith('.it')) {
if (document.querySelector('head > link[href^="//citynews.stgy.ovh/"]'))

@ -533,6 +533,11 @@
"block_regex": "\\/pebmed\\.com\\.br\\/wp-content\\/.+\\/paywall\\/dist\\/js\\/app\\.js",
"domain": "pebmed.com.br"
},
"Pharmaceutical-journal.com": {
"allow_cookies": 1,
"domain": "pharmaceutical-journal.com",
"useragent": "googlebot"
},
"Phillymag.com": {
"allow_cookies": 1,
"domain": "phillymag.com",

@ -18,36 +18,12 @@
"excluded_domains": ["nationalreview.com"],
"upd_version": "3.4.7.3"
},
"Correio do Povo": {
"domain": "correiodopovo.com.br",
"allow_cookies": 1,
"block_regex": "(paywall\\.correiodopovo\\.com\\.br|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
"upd_version": "3.4.4.7"
},
"Crikey.com.au": {
"domain": "crikey.com.au",
"block_regex": "\\.crickey\\.com\\.au\\/zephr\\/feature",
"remove_cookies_select_drop": ["blaize_session"],
"upd_version": "3.4.5.3"
},
"Defector": {
"domain": "defector.com",
"allow_cookies": 1,
"block_regex": "\\/defector\\.com\\/_next\\/static\\/chunks\\/pages\\/_sites\\/%5BsiteSlug%5D\\/%5B.+\\.js",
"upd_version": "3.4.4.5"
},
"Gazeta do Povo": {
"domain": "gazetadopovo.com.br",
"allow_cookies": 1,
"amp_unhide": 1,
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.cxense\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
"upd_version": "3.4.4.7"
},
"Le Parisien": {
"domain": "leparisien.fr",
"allow_cookies": 1,
"upd_version": "3.4.4.3"
},
"Literary Review (UK)": {
"domain": "literaryreview.co.uk",
"allow_cookies": 1,

Loading…
Cancel
Save