mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:37:47 +01:00
Add Quotidiano.net (Italy)
This commit is contained in:
parent
17b8d485d1
commit
097d51659c
6 changed files with 17 additions and 2 deletions
|
@ -175,7 +175,8 @@ So don't update to Firefox 79 or use F-droid's [Fennec-release](https://f-droid.
|
||||||
[La Repubblica](https://www.repubblica.it) -
|
[La Repubblica](https://www.repubblica.it) -
|
||||||
[La Stampa](https://www.lastampa.it) -
|
[La Stampa](https://www.lastampa.it) -
|
||||||
[Le Scienze](https://www.lescienze.it) -
|
[Le Scienze](https://www.lescienze.it) -
|
||||||
[LimesOnline (it/en)](https://www.limesonline.com)
|
[LimesOnline (it/en)](https://www.limesonline.com) -
|
||||||
|
[Quotidiano.net](https://www.quotidiano.net)
|
||||||
##### Netherlands/Flanders
|
##### Netherlands/Flanders
|
||||||
[Algemeen Dagblad](https://www.ad.nl) and regional ADR sites like
|
[Algemeen Dagblad](https://www.ad.nl) and regional ADR sites like
|
||||||
[BN DeStem](https://www.bndestem.nl) -
|
[BN DeStem](https://www.bndestem.nl) -
|
||||||
|
|
|
@ -66,6 +66,7 @@ var allow_cookies = [
|
||||||
'nytimes.com',
|
'nytimes.com',
|
||||||
'nzz.ch',
|
'nzz.ch',
|
||||||
'parool.nl',
|
'parool.nl',
|
||||||
|
'quotidiano.net',
|
||||||
'quora.com',
|
'quora.com',
|
||||||
'repubblica.it',
|
'repubblica.it',
|
||||||
'rollingstone.com',
|
'rollingstone.com',
|
||||||
|
@ -216,6 +217,7 @@ var blockedRegexes = {
|
||||||
'newyorker.com': /.+\.newyorker\.com\/verso\/static\/presenter-articles.+\.js/,
|
'newyorker.com': /.+\.newyorker\.com\/verso\/static\/presenter-articles.+\.js/,
|
||||||
'nknews.org': /.+\.nknews\.org\/wp-content\/plugins\/leaky-paywall-ajax\/js\/leaky-paywall-ajax\.js/,
|
'nknews.org': /.+\.nknews\.org\/wp-content\/plugins\/leaky-paywall-ajax\/js\/leaky-paywall-ajax\.js/,
|
||||||
'nytimes.com': /(.+meter-svc\.nytimes\.com\/meter\.js.+|.+mwcm\.nyt\.com\/.+\.js)/,
|
'nytimes.com': /(.+meter-svc\.nytimes\.com\/meter\.js.+|.+mwcm\.nyt\.com\/.+\.js)/,
|
||||||
|
'quotidiano.net': /.+\.tinypass\.com\/.+/,
|
||||||
'repubblica.it': /scripts\.repubblica\.it\/pw\/pw\.js.+/,
|
'repubblica.it': /scripts\.repubblica\.it\/pw\/pw\.js.+/,
|
||||||
'rollingstone.com': /cdn\.cxense\.com/,
|
'rollingstone.com': /cdn\.cxense\.com/,
|
||||||
'sacbee.com': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
|
'sacbee.com': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
Changelog Bypass Paywalls Clean - Firefox
|
Changelog Bypass Paywalls Clean - Firefox
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Add Quotidiano.net (Italy)
|
||||||
Add The West Australian (+ regional)
|
Add The West Australian (+ regional)
|
||||||
Fix-update Toronto Star (external cookie-script)
|
Fix-update Toronto Star (external cookie-script)
|
||||||
Update opt-in tab (default settings)
|
Update opt-in tab (default settings)
|
||||||
|
|
|
@ -1365,6 +1365,15 @@ else if (matchDomain("slate.com")) {
|
||||||
removeDOMElement(slate_roadblock);
|
removeDOMElement(slate_roadblock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain("quotidiano.net")) {
|
||||||
|
let detail_text_truncated = document.querySelector('div.detail-text--truncated');
|
||||||
|
let detail_page_paywall = document.querySelector('body.detail-page--paywall');
|
||||||
|
if (detail_page_paywall) {
|
||||||
|
removeDOMElement(detail_text_truncated);
|
||||||
|
detail_page_paywall.classList.remove('detail-page--paywall');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// General Functions
|
// General Functions
|
||||||
function removeDOMElement(...elements) {
|
function removeDOMElement(...elements) {
|
||||||
for (let element of elements) {
|
for (let element of elements) {
|
||||||
|
|
|
@ -208,6 +208,7 @@
|
||||||
"*://*.post-gazette.com/*",
|
"*://*.post-gazette.com/*",
|
||||||
"*://*.qt.com.au/*",
|
"*://*.qt.com.au/*",
|
||||||
"*://*.quora.com/*",
|
"*://*.quora.com/*",
|
||||||
|
"*://*.quotidiano.net/*",
|
||||||
"*://*.qz.com/*",
|
"*://*.qz.com/*",
|
||||||
"*://*.repubblica.it/*",
|
"*://*.repubblica.it/*",
|
||||||
"*://*.republic.ru/*",
|
"*://*.republic.ru/*",
|
||||||
|
@ -325,5 +326,5 @@
|
||||||
"webRequest",
|
"webRequest",
|
||||||
"webRequestBlocking"
|
"webRequestBlocking"
|
||||||
],
|
],
|
||||||
"version": "1.9.0.4"
|
"version": "1.9.0.5"
|
||||||
}
|
}
|
1
sites.js
1
sites.js
|
@ -133,6 +133,7 @@ var defaultSites =
|
||||||
"Pittsburgh Post Gazette": "post-gazette.com",
|
"Pittsburgh Post Gazette": "post-gazette.com",
|
||||||
"Quartz (free articles only)": "qz.com",
|
"Quartz (free articles only)": "qz.com",
|
||||||
"Quora": "quora.com",
|
"Quora": "quora.com",
|
||||||
|
"Quotidiano.net": "quotidiano.net",
|
||||||
"Republic.ru": "republic.ru",
|
"Republic.ru": "republic.ru",
|
||||||
"Rolling Stone": "rollingstone.com",
|
"Rolling Stone": "rollingstone.com",
|
||||||
"San Diego Union Tribune": "sandiegouniontribune.com",
|
"San Diego Union Tribune": "sandiegouniontribune.com",
|
||||||
|
|
Loading…
Reference in a new issue