mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:07: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 Stampa](https://www.lastampa.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
|
||||
[Algemeen Dagblad](https://www.ad.nl) and regional ADR sites like
|
||||
[BN DeStem](https://www.bndestem.nl) -
|
||||
|
|
|
@ -66,6 +66,7 @@ var allow_cookies = [
|
|||
'nytimes.com',
|
||||
'nzz.ch',
|
||||
'parool.nl',
|
||||
'quotidiano.net',
|
||||
'quora.com',
|
||||
'repubblica.it',
|
||||
'rollingstone.com',
|
||||
|
@ -216,6 +217,7 @@ var blockedRegexes = {
|
|||
'newyorker.com': /.+\.newyorker\.com\/verso\/static\/presenter-articles.+\.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)/,
|
||||
'quotidiano.net': /.+\.tinypass\.com\/.+/,
|
||||
'repubblica.it': /scripts\.repubblica\.it\/pw\/pw\.js.+/,
|
||||
'rollingstone.com': /cdn\.cxense\.com/,
|
||||
'sacbee.com': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Add Quotidiano.net (Italy)
|
||||
Add The West Australian (+ regional)
|
||||
Fix-update Toronto Star (external cookie-script)
|
||||
Update opt-in tab (default settings)
|
||||
|
|
|
@ -1365,6 +1365,15 @@ else if (matchDomain("slate.com")) {
|
|||
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
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
|
|
@ -208,6 +208,7 @@
|
|||
"*://*.post-gazette.com/*",
|
||||
"*://*.qt.com.au/*",
|
||||
"*://*.quora.com/*",
|
||||
"*://*.quotidiano.net/*",
|
||||
"*://*.qz.com/*",
|
||||
"*://*.repubblica.it/*",
|
||||
"*://*.republic.ru/*",
|
||||
|
@ -325,5 +326,5 @@
|
|||
"webRequest",
|
||||
"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",
|
||||
"Quartz (free articles only)": "qz.com",
|
||||
"Quora": "quora.com",
|
||||
"Quotidiano.net": "quotidiano.net",
|
||||
"Republic.ru": "republic.ru",
|
||||
"Rolling Stone": "rollingstone.com",
|
||||
"San Diego Union Tribune": "sandiegouniontribune.com",
|
||||
|
|
Loading…
Reference in a new issue