mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 05:57:48 +01:00
Add The Impression
This commit is contained in:
parent
5734eaec5b
commit
d399e8bc64
8 changed files with 26 additions and 50 deletions
|
@ -220,6 +220,7 @@ Grouped in options:\
|
|||
[The Intercept](https://theintercept.com) -
|
||||
[The Daily Beast](https://www.thedailybeast.com) -
|
||||
[The Daily Wire](https://www.dailywire.com) -
|
||||
[The Impression](https://theimpression.com) -
|
||||
[The Juggernaut](https://www.thejuggernaut.com) -
|
||||
[The Nation](https://www.thenation.com) -
|
||||
[The New Atlantis](https://www.thenewatlantis.com) -
|
||||
|
|
|
@ -487,9 +487,8 @@ ext_api.storage.local.get({
|
|||
} else {
|
||||
ext_api.management.getSelf(function (result) {
|
||||
if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) {
|
||||
let new_groups = ['###_au_nine_ent', '###_uk_delinian'];
|
||||
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain))) ||
|
||||
(!enabledSites.includes('###_usa_craincomm') && enabledSites.includes('###_usa_genomeweb'));
|
||||
let new_groups = [];
|
||||
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain)));
|
||||
if (open_options)
|
||||
ext_api.runtime.openOptionsPage();
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||
|
||||
Post-release
|
||||
Add The Impression
|
||||
Fix WSJ (Googlebot for cn/jp subdomain)
|
||||
Update custom sites (link to 1ft.io)
|
||||
|
||||
|
|
|
@ -4927,6 +4927,15 @@ else if (matchDomain(['thehindu.com', 'thehindubusinessline.com'])) {
|
|||
insert_script(hindu_main);
|
||||
}
|
||||
|
||||
else if (matchDomain('theimpression.com')) {
|
||||
let paywall = document.querySelector('div#modalpostsubscribe');
|
||||
if (paywall) {
|
||||
let blureffect = document.querySelectorAll('div.blureffect');
|
||||
for (let elem of blureffect)
|
||||
elem.classList.remove('blureffect');
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain(['thejuggernaut.com', 'jgnt.co'])) {
|
||||
let paywall = pageContains('div.font-mono', /\Read this article and many more by subscribing today/);
|
||||
if (paywall.length) {
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.4.0.1"
|
||||
"version": "3.4.0.2"
|
||||
}
|
||||
|
|
|
@ -666,6 +666,7 @@
|
|||
"*://*.thehill.com/*",
|
||||
"*://*.thehindu.com/*",
|
||||
"*://*.thehindubusinessline.com/*",
|
||||
"*://*.theimpression.com/*",
|
||||
"*://*.theintercept.com/*",
|
||||
"*://*.thejuggernaut.com/*",
|
||||
"*://*.thelawyersdaily.ca/*",
|
||||
|
@ -807,5 +808,5 @@
|
|||
"*://*.wyleex.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.4.0.1"
|
||||
"version": "3.4.0.2"
|
||||
}
|
||||
|
|
4
sites.js
4
sites.js
|
@ -2222,6 +2222,10 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /(cdn\.cxense\.com\/|\.piano\.io\/xbuilder\/experience\/execute|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/
|
||||
},
|
||||
"The Impression": {
|
||||
"domain": "theimpression.com",
|
||||
"allow_cookies": 1
|
||||
},
|
||||
"The Independent": {
|
||||
domain: "independent.co.uk",
|
||||
allow_cookies: 1,
|
||||
|
|
|
@ -44,13 +44,6 @@
|
|||
"block_regex": "(\\.cm\\.bloomberg\\.com\\/|assets\\.bwbx\\.io\\/s\\d\\/javelin\\/.+\\/transporter\\/)",
|
||||
"upd_version": "3.2.7.1"
|
||||
},
|
||||
"Business Post.ie": {
|
||||
"domain": "businesspost.ie",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.businesspost\\.ie\\/api\\/tinypass\\.min\\.js",
|
||||
"cs_dompurify": 1,
|
||||
"upd_version": "3.3.7.3"
|
||||
},
|
||||
"CartaCapital": {
|
||||
"domain": "cartacapital.com.br",
|
||||
"allow_cookies": 1,
|
||||
|
@ -63,12 +56,6 @@
|
|||
"block_regex": "\\.qiota\\.com\/",
|
||||
"upd_version": "3.3.9.8"
|
||||
},
|
||||
"O Estado de S. Paulo": {
|
||||
"domain": "estadao.com.br",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.estadao\\.com\\.br\\/(paywall\\/|access\\.js)|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|subscriptions)-.+\\.js)",
|
||||
"upd_version": "3.3.7.4"
|
||||
},
|
||||
"Financial News (London)": {
|
||||
"domain": "fnlondon.com",
|
||||
"allow_cookies": 1,
|
||||
|
@ -106,25 +93,6 @@
|
|||
"block_js_inline": "\\.journalde.+\\.com\\/",
|
||||
"upd_version": "3.3.8.5"
|
||||
},
|
||||
"Le Point": {
|
||||
"domain": "lepoint.fr",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.poool\\.fr",
|
||||
"ld_google_webcache": "aside.paywall|div#contenu",
|
||||
"upd_version": "3.3.7.8"
|
||||
},
|
||||
"Mitteldeutsche Zeitung": {
|
||||
"domain": "mz.de",
|
||||
"allow_cookies": 1,
|
||||
"ld_google_webcache": "div.fp-paywall|div[data-t-name='Article']",
|
||||
"upd_version": "3.3.7.5"
|
||||
},
|
||||
"NyTeknik": {
|
||||
"domain": "nyteknik.se",
|
||||
"allow_cookies": 1,
|
||||
"useragent": "googlebot",
|
||||
"upd_version": "3.3.7.2"
|
||||
},
|
||||
"The Baffler": {
|
||||
"domain": "thebaffler.com",
|
||||
"allow_cookies": 1,
|
||||
|
@ -150,6 +118,12 @@
|
|||
"block_regex": "(cdn\\.cxense\\.com\\/|\\.piano\\.io\\/xbuilder\\/experience\\/execute|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
|
||||
"upd_version": "3.3.9.5"
|
||||
},
|
||||
"The Impression": {
|
||||
"domain": "theimpression.com",
|
||||
"allow_cookies": 1,
|
||||
"cs_code": "[{\"cond\":\"div#modalpostsubscribe\", \"rm_elem\":1, \"elems\":[{\"cond\":\"div.blureffect\", \"rm_class\":\"blureffect\"}]}]",
|
||||
"upd_version": "3.4.0.2"
|
||||
},
|
||||
"The New York Times": {
|
||||
"domain": "nytimes.com",
|
||||
"allow_cookies": 1,
|
||||
|
@ -161,18 +135,5 @@
|
|||
"domain": "spectator.com.au",
|
||||
"useragent": "googlebot",
|
||||
"upd_version": "3.3.9.3"
|
||||
},
|
||||
"UnHerd": {
|
||||
"domain": "unherd.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.piano\\.io",
|
||||
"cs_code": "[{\"cond\":\"div#premiumpreview\", \"rm_elem\":1, \"elems\":[{\"cond\":\"div#premiumcontent\", \"rm_attrib\":\"id\"}]}]",
|
||||
"upd_version": "3.3.7.6"
|
||||
},
|
||||
"Volksstimme": {
|
||||
"domain": "volksstimme.de",
|
||||
"allow_cookies": 1,
|
||||
"ld_google_webcache": "div.fp-paywall|div[data-t-name='Article']",
|
||||
"upd_version": "3.3.7.5"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue