mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-04-30 01:34:26 +02:00
Merge branch 'iamadamdev:master' into master
This commit is contained in:
commit
29b2089437
@ -26,16 +26,13 @@
|
|||||||
### Bypass the following sites' paywalls with this extension:
|
### Bypass the following sites' paywalls with this extension:
|
||||||
|
|
||||||
[Adweek](https://www.adweek.com)\
|
[Adweek](https://www.adweek.com)\
|
||||||
[Algemeen Dagblad](https://www.ad.nl)\
|
|
||||||
[American Banker](https://www.americanbanker.com)\
|
[American Banker](https://www.americanbanker.com)\
|
||||||
[Ámbito](https://www.ambito.com)\
|
[Ámbito](https://www.ambito.com)\
|
||||||
[Baltimore Sun](https://www.baltimoresun.com)\
|
[Baltimore Sun](https://www.baltimoresun.com)\
|
||||||
[Barron's](https://www.barrons.com)\
|
[Barron's](https://www.barrons.com)\
|
||||||
[Bloomberg Quint](https://www.bloombergquint.com)\
|
[Bloomberg Quint](https://www.bloombergquint.com)\
|
||||||
[Bloomberg](https://www.bloomberg.com)\
|
[Bloomberg](https://www.bloomberg.com)\
|
||||||
[BN De Stem](https://www.bndestem.nl)\
|
|
||||||
[Boston Globe](https://www.bostonglobe.com)\
|
[Boston Globe](https://www.bostonglobe.com)\
|
||||||
[Brabants Dagblad](https://www.bd.nl)\
|
|
||||||
[Brisbane Times](https://www.brisbanetimes.com.au)\
|
[Brisbane Times](https://www.brisbanetimes.com.au)\
|
||||||
[Business Insider](https://www.businessinsider.com)\
|
[Business Insider](https://www.businessinsider.com)\
|
||||||
[Caixin](https://www.caixinglobal.com)\
|
[Caixin](https://www.caixinglobal.com)\
|
||||||
@ -45,9 +42,7 @@
|
|||||||
[Corriere Della Sera](https://www.corriere.it)\
|
[Corriere Della Sera](https://www.corriere.it)\
|
||||||
[Crain's Chicago Business](https://www.chicagobusiness.com)\
|
[Crain's Chicago Business](https://www.chicagobusiness.com)\
|
||||||
[Daily Press](https://www.dailypress.com)\
|
[Daily Press](https://www.dailypress.com)\
|
||||||
[De Gelderlander](https://www.gelderlander.nl)\
|
|
||||||
[De Groene Amsterdammer](https://www.groene.nl)\
|
[De Groene Amsterdammer](https://www.groene.nl)\
|
||||||
[De Stentor](https://www.destentor.nl)\
|
|
||||||
[De Speld](https://speld.nl)\
|
[De Speld](https://speld.nl)\
|
||||||
[De Tijd](https://www.tijd.be)\
|
[De Tijd](https://www.tijd.be)\
|
||||||
[De Volkskrant](https://www.volkskrant.nl)\
|
[De Volkskrant](https://www.volkskrant.nl)\
|
||||||
@ -56,7 +51,6 @@
|
|||||||
[Diario Financiero](https://www.df.cl)\
|
[Diario Financiero](https://www.df.cl)\
|
||||||
[Domani](https://www.editorialedomani.it)\
|
[Domani](https://www.editorialedomani.it)\
|
||||||
[Dynamed Plus](https://www.dynamed.com)\
|
[Dynamed Plus](https://www.dynamed.com)\
|
||||||
[Eindhovens Dagblad](https://www.ed.nl)\
|
|
||||||
[El Mercurio](https://www.elmercurio.com)\
|
[El Mercurio](https://www.elmercurio.com)\
|
||||||
[El Pais](https://www.elpais.com)\
|
[El Pais](https://www.elpais.com)\
|
||||||
[El Periodico](https://www.elperiodico.com)\
|
[El Periodico](https://www.elperiodico.com)\
|
||||||
@ -119,7 +113,6 @@
|
|||||||
[New Zealand Herald](https://www.nzherald.co.nz)\
|
[New Zealand Herald](https://www.nzherald.co.nz)\
|
||||||
[Orange County Register](https://www.ocregister.com)\
|
[Orange County Register](https://www.ocregister.com)\
|
||||||
[Orlando Sentinel](https://www.orlandosentinel.com)\
|
[Orlando Sentinel](https://www.orlandosentinel.com)\
|
||||||
[PZC](https://www.pzc.nl)\
|
|
||||||
[Palo Alto Online](https://www.paloaltoonline.com)\
|
[Palo Alto Online](https://www.paloaltoonline.com)\
|
||||||
[Parool](https://www.parool.nl)\
|
[Parool](https://www.parool.nl)\
|
||||||
[Postimees](https://www.postimees.ee)\
|
[Postimees](https://www.postimees.ee)\
|
||||||
@ -188,7 +181,6 @@
|
|||||||
[Times Literary Supplement](https://www.the-tls.co.uk)\
|
[Times Literary Supplement](https://www.the-tls.co.uk)\
|
||||||
[Towards Data Science](https://www.towardsdatascience.com)\
|
[Towards Data Science](https://www.towardsdatascience.com)\
|
||||||
[Trouw](https://www.trouw.nl)\
|
[Trouw](https://www.trouw.nl)\
|
||||||
[Tubantia](https://www.tubantia.nl)\
|
|
||||||
[Vanity Fair](https://www.vanityfair.com)\
|
[Vanity Fair](https://www.vanityfair.com)\
|
||||||
[Vrij Nederland](https://www.vn.nl)\
|
[Vrij Nederland](https://www.vn.nl)\
|
||||||
[Vulture](https://www.vulture.com)\
|
[Vulture](https://www.vulture.com)\
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
{
|
{
|
||||||
"matches": [
|
"matches": [
|
||||||
"*://*.ad.nl/*",
|
|
||||||
"*://*.afr.com/*",
|
"*://*.afr.com/*",
|
||||||
"*://*.americanbanker.com/*",
|
"*://*.americanbanker.com/*",
|
||||||
"*://*.ambito.com/*",
|
"*://*.ambito.com/*",
|
||||||
@ -20,7 +19,6 @@
|
|||||||
"*://*.caixinglobal.com/*",
|
"*://*.caixinglobal.com/*",
|
||||||
"*://*.canberratimes.com.au/*",
|
"*://*.canberratimes.com.au/*",
|
||||||
"*://*.economist.com/*",
|
"*://*.economist.com/*",
|
||||||
"*://*.ed.nl/*",
|
|
||||||
"*://*.editorialedomani.it/*",
|
"*://*.editorialedomani.it/*",
|
||||||
"*://*.elmercurio.com/*",
|
"*://*.elmercurio.com/*",
|
||||||
"*://*.elpais.com/*",
|
"*://*.elpais.com/*",
|
||||||
@ -125,7 +123,6 @@
|
|||||||
"*://*.poool.fr/*",
|
"*://*.poool.fr/*",
|
||||||
"*://*.qiota.com/*",
|
"*://*.qiota.com/*",
|
||||||
"*://*.tinypass.com/*",
|
"*://*.tinypass.com/*",
|
||||||
"*://*.ad.nl/*",
|
|
||||||
"*://*.adelaidenow.com.au/*",
|
"*://*.adelaidenow.com.au/*",
|
||||||
"*://*.adweek.com/*",
|
"*://*.adweek.com/*",
|
||||||
"*://*.afr.com/*",
|
"*://*.afr.com/*",
|
||||||
@ -153,7 +150,6 @@
|
|||||||
"*://*.denverpost.com/*",
|
"*://*.denverpost.com/*",
|
||||||
"*://*.dynamed.com/*",
|
"*://*.dynamed.com/*",
|
||||||
"*://*.economist.com/*",
|
"*://*.economist.com/*",
|
||||||
"*://*.ed.nl/*",
|
|
||||||
"*://*.elmercurio.com/*",
|
"*://*.elmercurio.com/*",
|
||||||
"*://*.elu24.ee/*",
|
"*://*.elu24.ee/*",
|
||||||
"*://*.examiner.com.au/*",
|
"*://*.examiner.com.au/*",
|
||||||
@ -266,12 +262,6 @@
|
|||||||
"*://*.startribune.com/*",
|
"*://*.startribune.com/*",
|
||||||
"*://*.df.cl/*",
|
"*://*.df.cl/*",
|
||||||
"*://*.financialpost.com/*",
|
"*://*.financialpost.com/*",
|
||||||
"*://*.gelderlander.nl/*",
|
|
||||||
"*://*.bndestem.nl/*",
|
|
||||||
"*://*.bd.nl/*",
|
|
||||||
"*://*.tubantia.nl/*",
|
|
||||||
"*://*.pzc.nl/*",
|
|
||||||
"*://*.destentor.nl/*",
|
|
||||||
"*://*.ambito/*",
|
"*://*.ambito/*",
|
||||||
"*://*.sueddeutsche.de/*",
|
"*://*.sueddeutsche.de/*",
|
||||||
"*://*.spectator.us/*",
|
"*://*.spectator.us/*",
|
||||||
|
@ -11,19 +11,13 @@ const restrictions = {
|
|||||||
|
|
||||||
// Don't remove cookies before page load
|
// Don't remove cookies before page load
|
||||||
const allowCookies = [
|
const allowCookies = [
|
||||||
'ad.nl',
|
|
||||||
'bd.nl',
|
|
||||||
'bndestem.nl',
|
|
||||||
'brisbanetimes.com.au',
|
'brisbanetimes.com.au',
|
||||||
'canberratimes.com.au',
|
'canberratimes.com.au',
|
||||||
'cen.acs.org',
|
'cen.acs.org',
|
||||||
'demorgen.be',
|
'demorgen.be',
|
||||||
'denverpost.com',
|
'denverpost.com',
|
||||||
'destentor.nl',
|
|
||||||
'ed.nl',
|
|
||||||
'examiner.com.au',
|
'examiner.com.au',
|
||||||
'gelocal.it',
|
'gelocal.it',
|
||||||
'gelderlander.nl',
|
|
||||||
'grubstreet.com',
|
'grubstreet.com',
|
||||||
'harpers.org',
|
'harpers.org',
|
||||||
'hbr.org',
|
'hbr.org',
|
||||||
@ -37,7 +31,6 @@ const allowCookies = [
|
|||||||
'nymag.com',
|
'nymag.com',
|
||||||
'ocregister.com',
|
'ocregister.com',
|
||||||
'parool.nl',
|
'parool.nl',
|
||||||
'pzc.nl',
|
|
||||||
'qz.com',
|
'qz.com',
|
||||||
'scientificamerican.com',
|
'scientificamerican.com',
|
||||||
'seattletimes.com',
|
'seattletimes.com',
|
||||||
@ -45,7 +38,6 @@ const allowCookies = [
|
|||||||
'sofrep.com',
|
'sofrep.com',
|
||||||
'spectator.co.uk',
|
'spectator.co.uk',
|
||||||
'speld.nl',
|
'speld.nl',
|
||||||
'tubantia.nl',
|
|
||||||
'techinasia.com',
|
'techinasia.com',
|
||||||
'telegraaf.nl',
|
'telegraaf.nl',
|
||||||
'the-american-interest.com',
|
'the-american-interest.com',
|
||||||
@ -79,20 +71,14 @@ const allowCookies = [
|
|||||||
|
|
||||||
// Removes cookies after page load
|
// Removes cookies after page load
|
||||||
const removeCookies = [
|
const removeCookies = [
|
||||||
'ad.nl',
|
|
||||||
'bd.nl',
|
|
||||||
'bloomberg.com',
|
'bloomberg.com',
|
||||||
'bloombergquint.com',
|
'bloombergquint.com',
|
||||||
'bndestem.nl',
|
|
||||||
'brisbanetimes.com.au',
|
'brisbanetimes.com.au',
|
||||||
'canberratimes.com.au',
|
'canberratimes.com.au',
|
||||||
'cen.acs.org',
|
'cen.acs.org',
|
||||||
'demorgen.be',
|
'demorgen.be',
|
||||||
'denverpost.com',
|
'denverpost.com',
|
||||||
'destentor.nl',
|
|
||||||
'ed.nl',
|
|
||||||
'examiner.com.au',
|
'examiner.com.au',
|
||||||
'gelderlander.nl',
|
|
||||||
'globes.co.il',
|
'globes.co.il',
|
||||||
'grubstreet.com',
|
'grubstreet.com',
|
||||||
'harpers.org',
|
'harpers.org',
|
||||||
@ -104,7 +90,6 @@ const removeCookies = [
|
|||||||
'nrc.nl',
|
'nrc.nl',
|
||||||
'nymag.com',
|
'nymag.com',
|
||||||
'ocregister.com',
|
'ocregister.com',
|
||||||
'pzc.nl',
|
|
||||||
'qz.com',
|
'qz.com',
|
||||||
'scientificamerican.com',
|
'scientificamerican.com',
|
||||||
'seattletimes.com',
|
'seattletimes.com',
|
||||||
@ -118,7 +103,6 @@ const removeCookies = [
|
|||||||
'thecut.com',
|
'thecut.com',
|
||||||
'thediplomat.com',
|
'thediplomat.com',
|
||||||
'towardsdatascience.com',
|
'towardsdatascience.com',
|
||||||
'tubantia.nl',
|
|
||||||
'vn.nl',
|
'vn.nl',
|
||||||
'vulture.com',
|
'vulture.com',
|
||||||
'wsj.com',
|
'wsj.com',
|
||||||
@ -139,19 +123,11 @@ const removeCookiesSelectHold = {
|
|||||||
|
|
||||||
// select only specific cookie(s) to drop from removeCookies domains
|
// select only specific cookie(s) to drop from removeCookies domains
|
||||||
const removeCookiesSelectDrop = {
|
const removeCookiesSelectDrop = {
|
||||||
'ad.nl': ['temptationTrackingId'],
|
|
||||||
'ambito.com': ['TDNotesRead'],
|
'ambito.com': ['TDNotesRead'],
|
||||||
'bd.nl': ['temptationTrackingId'],
|
|
||||||
'bndestem.nl': ['temptationTrackingId'],
|
|
||||||
'demorgen.be': ['TID_ID'],
|
'demorgen.be': ['TID_ID'],
|
||||||
'destentor.nl': ['temptationTrackingId'],
|
|
||||||
'ed.nl': ['temptationTrackingId'],
|
|
||||||
'fd.nl': ['socialread'],
|
'fd.nl': ['socialread'],
|
||||||
'gelderlander.nl': ['temptationTrackingId'],
|
|
||||||
'humo.be': ['TID_ID'],
|
'humo.be': ['TID_ID'],
|
||||||
'nrc.nl': ['counter'],
|
'nrc.nl': ['counter'],
|
||||||
'pzc.nl': ['temptationTrackingId'],
|
|
||||||
'tubantia.nl': ['temptationTrackingId'],
|
|
||||||
'speld.nl': ['speld-paywall']
|
'speld.nl': ['speld-paywall']
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -73,9 +73,6 @@ if (matchDomain('elmercurio.com')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (matchDomain(['ad.nl', 'ed.nl', 'bndestem.nl', 'bd.nl', 'tubantia.nl', 'destentor.nl', 'pzc.nl', 'gelderlander.nl'])) {
|
|
||||||
const paywall = document.querySelector('.article__component.article__component--paywall-module-notification');
|
|
||||||
removeDOMElement(paywall);
|
|
||||||
} else if (matchDomain('washingtonpost.com')) {
|
} else if (matchDomain('washingtonpost.com')) {
|
||||||
const leaderboard = document.querySelector('#leaderboard-wrapper');
|
const leaderboard = document.querySelector('#leaderboard-wrapper');
|
||||||
const adverts = document.querySelectorAll('div[data-qa="article-body-ad"]');
|
const adverts = document.querySelectorAll('div[data-qa="article-body-ad"]');
|
||||||
|
@ -1,16 +1,13 @@
|
|||||||
// Cookies from this list are blocked by default
|
// Cookies from this list are blocked by default
|
||||||
const defaultSites = {
|
const defaultSites = {
|
||||||
'Adweek': 'adweek.com',
|
'Adweek': 'adweek.com',
|
||||||
'Algemeen Dagblad': 'ad.nl',
|
|
||||||
'\u00C1mbito': 'ambito.com',
|
'\u00C1mbito': 'ambito.com',
|
||||||
'American Banker': 'americanbanker.com',
|
'American Banker': 'americanbanker.com',
|
||||||
'Baltimore Sun': 'baltimoresun.com',
|
'Baltimore Sun': 'baltimoresun.com',
|
||||||
'Barron\'s': 'barrons.com',
|
'Barron\'s': 'barrons.com',
|
||||||
'Bloomberg': 'bloomberg.com',
|
'Bloomberg': 'bloomberg.com',
|
||||||
'Bloomberg Quint (free articles only)': 'bloombergquint.com',
|
'Bloomberg Quint (free articles only)': 'bloombergquint.com',
|
||||||
'BN De Stem': 'bndestem.nl',
|
|
||||||
'Boston Globe': 'bostonglobe.com',
|
'Boston Globe': 'bostonglobe.com',
|
||||||
'Brabants Dagblad': 'bd.nl',
|
|
||||||
'Brisbane Times': 'brisbanetimes.com.au',
|
'Brisbane Times': 'brisbanetimes.com.au',
|
||||||
'Business Insider': 'businessinsider.com',
|
'Business Insider': 'businessinsider.com',
|
||||||
'Caixin': 'caixinglobal.com',
|
'Caixin': 'caixinglobal.com',
|
||||||
@ -20,18 +17,15 @@ const defaultSites = {
|
|||||||
'Corriere Della Sera': 'corriere.it',
|
'Corriere Della Sera': 'corriere.it',
|
||||||
'Crain\'s Chicago Business': 'chicagobusiness.com',
|
'Crain\'s Chicago Business': 'chicagobusiness.com',
|
||||||
'Daily Press': 'dailypress.com',
|
'Daily Press': 'dailypress.com',
|
||||||
'De Gelderlander': 'gelderlander.nl',
|
|
||||||
'De Groene Amsterdammer': 'groene.nl',
|
'De Groene Amsterdammer': 'groene.nl',
|
||||||
'DeMorgen': 'demorgen.be',
|
'DeMorgen': 'demorgen.be',
|
||||||
'Denver Post': 'denverpost.com',
|
'Denver Post': 'denverpost.com',
|
||||||
'De Speld': 'speld.nl',
|
'De Speld': 'speld.nl',
|
||||||
'De Stentor': 'destentor.nl',
|
|
||||||
'De Tijd': 'tijd.be',
|
'De Tijd': 'tijd.be',
|
||||||
'de Volkskrant': 'volkskrant.nl',
|
'de Volkskrant': 'volkskrant.nl',
|
||||||
'Diario Financiero': 'df.cl',
|
'Diario Financiero': 'df.cl',
|
||||||
'Domani': 'editorialedomani.it',
|
'Domani': 'editorialedomani.it',
|
||||||
'Dynamed Plus': 'dynamed.com',
|
'Dynamed Plus': 'dynamed.com',
|
||||||
'Eindhovens Dagblad': 'ed.nl',
|
|
||||||
'El Mercurio': 'elmercurio.com',
|
'El Mercurio': 'elmercurio.com',
|
||||||
'El Mundo': 'elmundo.es',
|
'El Mundo': 'elmundo.es',
|
||||||
'El Pais': 'elpais.com',
|
'El Pais': 'elpais.com',
|
||||||
@ -99,7 +93,6 @@ const defaultSites = {
|
|||||||
'Palo Alto Online': 'paloaltoonline.com',
|
'Palo Alto Online': 'paloaltoonline.com',
|
||||||
'Parool': 'parool.nl',
|
'Parool': 'parool.nl',
|
||||||
'Postimees': 'postimees.ee',
|
'Postimees': 'postimees.ee',
|
||||||
'PZC': 'pzc.nl',
|
|
||||||
'Quartz (free articles only)': 'qz.com',
|
'Quartz (free articles only)': 'qz.com',
|
||||||
'Quora': 'quora.com',
|
'Quora': 'quora.com',
|
||||||
'Quotidiani Gelocal': 'gelocal.it',
|
'Quotidiani Gelocal': 'gelocal.it',
|
||||||
@ -168,7 +161,6 @@ const defaultSites = {
|
|||||||
'Times Literary Supplement': 'the-tls.co.uk',
|
'Times Literary Supplement': 'the-tls.co.uk',
|
||||||
'Towards Data Science': 'towardsdatascience.com',
|
'Towards Data Science': 'towardsdatascience.com',
|
||||||
'Trouw': 'trouw.nl',
|
'Trouw': 'trouw.nl',
|
||||||
'Tubantia': 'tubantia.nl',
|
|
||||||
'Vanity Fair': 'vanityfair.com',
|
'Vanity Fair': 'vanityfair.com',
|
||||||
'Vrij Nederland': 'vn.nl',
|
'Vrij Nederland': 'vn.nl',
|
||||||
'Vulture': 'vulture.com',
|
'Vulture': 'vulture.com',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user