mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:31:57 +01:00
Add Money.it
This commit is contained in:
parent
ba9d97d8b5
commit
70d9bf9916
7 changed files with 27 additions and 7 deletions
|
@ -615,8 +615,8 @@ Grouped in options:\
|
|||
[Il Manifesto](https://ilmanifesto.it) -
|
||||
[Internazionale](https://www.internazionale.it) -
|
||||
[Italia Oggi](https://www.italiaoggi.it) -
|
||||
[La Gazzetta dello Sport](https://www.gazzetta.it)
|
||||
|
||||
[La Gazzetta dello Sport](https://www.gazzetta.it) -
|
||||
[Money.it](https://www.money.it)
|
||||
|
||||
Grouped in options:\
|
||||
*Gruppo GEDI.it* sites like\
|
||||
|
|
|
@ -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 Money.it
|
||||
Add Schwarzwaelder-bote.de & Stuttgarter-nachrichten.de
|
||||
Fix Australian Community Media (css)
|
||||
Fix Medium (identify member-only)
|
||||
|
|
|
@ -2078,6 +2078,20 @@ else if (matchDomain(it_gedi_domains)) {
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('money.it')) {
|
||||
if (!window.location.search.startsWith('?page=amp')) {
|
||||
let paywall = document.querySelector('div#paywall');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
let article_id_dom = document.querySelector('div[data-idarticle]');
|
||||
if (article_id_dom) {
|
||||
let article_id = article_id_dom.getAttribute('data-idarticle');
|
||||
window.location.href = 'https://www.money.it/?page=amp&id_article=' + article_id;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
csDone = true;
|
||||
|
||||
|
@ -3293,7 +3307,7 @@ else if (matchDomain('bloomberg.com')) {
|
|||
}
|
||||
elem.appendChild(ul);
|
||||
}
|
||||
for (par of json_pars) {
|
||||
for (let par of json_pars) {
|
||||
let elem = document.createElement('p');
|
||||
elem.setAttribute('class', par_class);
|
||||
if (['heading', 'paragraph'].includes(par.type)) {
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.2.5.4"
|
||||
"version": "3.2.5.5"
|
||||
}
|
||||
|
|
|
@ -442,6 +442,7 @@
|
|||
"*://*.mlive.com/*",
|
||||
"*://*.modernhealthcare.com/*",
|
||||
"*://*.monacomatin.mc/*",
|
||||
"*://*.money.it/*",
|
||||
"*://*.monocle.com/*",
|
||||
"*://*.morgenpost.de/*",
|
||||
"*://*.muensterschezeitung.de/*",
|
||||
|
@ -756,5 +757,5 @@
|
|||
"*://*.wyleex.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.2.5.4"
|
||||
"version": "3.2.5.5"
|
||||
}
|
||||
|
|
4
sites.js
4
sites.js
|
@ -1428,6 +1428,10 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-access-.+\.mjs)/
|
||||
},
|
||||
"Money.it": {
|
||||
domain: "money.it",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"Monocle": {
|
||||
domain: "monocle.com",
|
||||
useragent: "googlebot"
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
"addons": {
|
||||
"magnolia@12.34": {
|
||||
"updates": [
|
||||
{ "version": "3.2.4.0",
|
||||
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.2.4.0.xpi" }
|
||||
{ "version": "3.2.5.0",
|
||||
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.2.5.0.xpi" }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue