Add Artnet

This commit is contained in:
magnolia1234 2021-12-02 18:52:30 +01:00
parent 651718f78a
commit 9e9d2b6fc9
6 changed files with 25 additions and 1 deletions

View File

@ -142,6 +142,7 @@ Grouped in options:\
##### Magazines/Blogs
[Apollo Magazine](https://www.apollo-magazine.com) -
[Artnet](https://www.artnet.com) -
[Atavist Magazine](https://magazine.atavist.com) -
[Billboard](https://www.billboard.com) -
[Commentary Magazine](https://www.commentary.org) -

View File

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Artnet
Fix The Business of Fashion
Fix El Mundo & Groupe EBRA (amp-iframe)
Fix Live Law (permission)

View File

@ -1594,6 +1594,12 @@ else if (matchDomain('americanaffairsjournal.org')) {
removeDOMElement(paywall_bar);
}
else if (matchDomain('artnet.com')) {
let body_hidden = document.querySelector('.article-body');
if (body_hidden)
body_hidden.style = 'display:block;';
}
else if (matchDomain('asia.nikkei.com')) {
let popup = document.querySelector('#pianoj_ribbon');
removeDOMElement(popup);

View File

@ -71,6 +71,7 @@
"*://*.americanaffairsjournal.org/*",
"*://*.americanbanker.com/*",
"*://*.apollo-magazine.com/*",
"*://*.artnet.com/*",
"*://*.arvopaperi.fi/*",
"*://*.asiatimes.com/*",
"*://*.atavist.com/*",
@ -570,5 +571,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.4.5.4"
"version": "2.4.5.5"
}

View File

@ -90,6 +90,11 @@ var defaultSites = {
allow_cookies: 1,
block_regex: /\.tinypass\.com\//
},
"Artnet": {
domain: "artnet.com",
allow_cookies: 1,
block_regex: /\.artnet\.com\/paywall-ajax\.php/
},
"Asia Times": {
domain: "asiatimes.com",
allow_cookies: 1,

View File

@ -1,4 +1,14 @@
{
"Artnet": {
"domain": "artnet.com",
"allow_cookies": 1,
"block_regex": "\\.artnet\\.com\\/paywall-ajax\\.php",
"cs_code": [{
"cond": ".article-body",
"rm_class": "article-body"
}
]
},
"Code Sports": {
"domain": "codesports.com.au",
"allow_cookies": 1,