mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-04-30 02:24:26 +02:00
add support for editorialedomani.it, humo.be (#932)
* add support for editorialedomani.it * add support for humo.be * fix regex for editorialedomani.it
This commit is contained in:
parent
859ca5cfa0
commit
99a95884e1
@ -47,6 +47,7 @@
|
||||
[DeMorgen](https://www.demorgen.be)\
|
||||
[Denver Post](https://www.denverpost.com)\
|
||||
[Diario Financiero](https://www.df.cl)\
|
||||
[Domani](https://www.editorialedomani.it/)\
|
||||
[Dynamed Plus](https://www.dynamed.com)\
|
||||
[Eindhovens Dagblad](https://www.ed.nl)\
|
||||
[El Mercurio](https://www.elmercurio.com)\
|
||||
@ -72,6 +73,7 @@
|
||||
[Herald Sun](https://www.heraldsun.com.au)\
|
||||
[Het Financieel Dagblad](https://fd.nl)\
|
||||
[History Extra](https://www.historyextra.com)\
|
||||
[Humo](https://www.humo.be)\
|
||||
[Il Manifesto](https://www.ilmanifesto.it)\
|
||||
[Inc.com](https://www.inc.com)\
|
||||
[Interest.co.nz](https://www.interest.co.nz)\
|
||||
|
@ -20,6 +20,7 @@
|
||||
"*://*.canberratimes.com.au/*",
|
||||
"*://*.economist.com/*",
|
||||
"*://*.ed.nl/*",
|
||||
"*://*.editorialedomani.it/*"
|
||||
"*://*.elmercurio.com/*",
|
||||
"*://*.elpais.com/*",
|
||||
"*://*.estadao.com.br/*",
|
||||
@ -27,6 +28,7 @@
|
||||
"*://*.firstthings.com/*",
|
||||
"*://*.ft.com/*",
|
||||
"*://*.haaretz.co.il/*",
|
||||
"*://*.humo.be/*",
|
||||
"*://*.interest.co.nz/*",
|
||||
"*://*.ledevoir.com/*",
|
||||
"*://*.leparisien.fr/*",
|
||||
|
@ -21,6 +21,7 @@ const allowCookies = [
|
||||
'ft.com',
|
||||
'harpers.org',
|
||||
'hbr.org',
|
||||
'humo.be',
|
||||
'lesechos.fr',
|
||||
'lrb.co.uk',
|
||||
'medium.com',
|
||||
@ -76,6 +77,7 @@ const removeCookies = [
|
||||
'globes.co.il',
|
||||
'harpers.org',
|
||||
'hbr.org',
|
||||
'humo.be',
|
||||
'lesechos.fr',
|
||||
'medium.com',
|
||||
'mercurynews.com',
|
||||
@ -115,6 +117,7 @@ const removeCookiesSelectDrop = {
|
||||
'ad.nl': ['temptationTrackingId'],
|
||||
'ed.nl': ['temptationTrackingId'],
|
||||
'demorgen.be': ['TID_ID'],
|
||||
'humo.be': ['TID_ID'],
|
||||
'fd.nl': ['socialread'],
|
||||
'nrc.nl': ['counter']
|
||||
};
|
||||
@ -167,6 +170,7 @@ const blockedRegexes = {
|
||||
'businessinsider.com': /(.+\.tinypass\.com\/.+|cdn\.onesignal\.com\/sdks\/.+\.js)/,
|
||||
'chicagotribune.com': /.+:\/\/.+\.tribdss\.com\//,
|
||||
'economist.com': /(.+\.tinypass\.com\/.+|economist\.com\/engassets\/_next\/static\/chunks\/framework.+\.js)/,
|
||||
'editorialedomani.it': /(js\.pelcro\.com\/.+|editorialedomani.it\/pelcro\.js)/,
|
||||
'foreignpolicy.com': /.+\.tinypass\.com\/.+/,
|
||||
'fortune.com': /.+\.tinypass\.com\/.+/,
|
||||
'haaretz.co.il': /haaretz\.co\.il\/htz\/js\/inter\.js/,
|
||||
|
@ -182,7 +182,7 @@ if (matchDomain('elmercurio.com')) {
|
||||
const plista = document.querySelector('div[data-plista-placement="underArticle_Group"]');
|
||||
removeDOMElement(plista);
|
||||
});
|
||||
} else if (matchDomain(['parool.nl', 'trouw.nl', 'volkskrant.nl', 'demorgen.be'])) {
|
||||
} else if (matchDomain(['parool.nl', 'trouw.nl', 'volkskrant.nl', 'demorgen.be', 'humo.be'])) {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const topBanner = document.querySelector('div[data-temptation-position="PAGE_TOP"]');
|
||||
const paywall = document.querySelector('div[data-temptation-position="ARTICLE_BOTTOM"]');
|
||||
|
@ -22,6 +22,7 @@ const defaultSites = {
|
||||
'De Tijd': 'tijd.be',
|
||||
'de Volkskrant': 'volkskrant.nl',
|
||||
'Diario Financiero': 'df.cl',
|
||||
'Domani': 'editorialedomani.it',
|
||||
'Dynamed Plus': 'dynamed.com',
|
||||
'Eindhovens Dagblad': 'ed.nl',
|
||||
'El Mercurio':'elmercurio.com',
|
||||
@ -47,6 +48,7 @@ const defaultSites = {
|
||||
'Herald Sun': 'heraldsun.com.au',
|
||||
'Het Financieele Dagblad': 'fd.nl',
|
||||
'History Extra': 'historyextra.com',
|
||||
'Humo': 'humo.be',
|
||||
'Il Manifesto': 'ilmanifesto.it',
|
||||
'Inc.com': 'inc.com',
|
||||
'Interest NZ': 'interest.co.nz',
|
||||
|
Loading…
x
Reference in New Issue
Block a user