mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:07:47 +01:00
Add Bloomberg Adria
This commit is contained in:
parent
31d2ca30b9
commit
aa96d4469e
9 changed files with 32 additions and 2 deletions
|
@ -389,6 +389,7 @@ Grouped in options:\
|
||||||
|
|
||||||
#### Europe
|
#### Europe
|
||||||
|
|
||||||
|
[Bloomberg Adria](https://www.bloombergadria.com) -
|
||||||
[EUobserver](https://euobserver.com)
|
[EUobserver](https://euobserver.com)
|
||||||
|
|
||||||
##### United Kingdom/Ireland
|
##### United Kingdom/Ireland
|
||||||
|
|
|
@ -19,6 +19,7 @@ var blocked_referer = false;
|
||||||
|
|
||||||
var restrictions = {
|
var restrictions = {
|
||||||
'bloomberg.com': /^((?!\.bloomberg\.com\/news\/terminal\/).)*$/,
|
'bloomberg.com': /^((?!\.bloomberg\.com\/news\/terminal\/).)*$/,
|
||||||
|
'bloombergadria.com': /^((?!\.bloombergadria\.com\/video\/).)*$/,
|
||||||
'dailywire.com': /^((?!\.dailywire\.com\/(episode|show|videos|watch)).)*$/,
|
'dailywire.com': /^((?!\.dailywire\.com\/(episode|show|videos|watch)).)*$/,
|
||||||
'economictimes.com': /\.economictimes\.com($|\/($|(__assets|prime)(\/.+)?|.+\.cms))/,
|
'economictimes.com': /\.economictimes\.com($|\/($|(__assets|prime)(\/.+)?|.+\.cms))/,
|
||||||
'elespanol.com': /^((?!\/cronicaglobal\.elespanol\.com\/).)*$/,
|
'elespanol.com': /^((?!\/cronicaglobal\.elespanol\.com\/).)*$/,
|
||||||
|
|
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||||
Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Add Bloomberg Adria
|
||||||
Add DN.no (cached articles only)
|
Add DN.no (cached articles only)
|
||||||
Fix mobile user-agent for Google webcache
|
Fix mobile user-agent for Google webcache
|
||||||
|
|
||||||
|
|
|
@ -3004,6 +3004,14 @@ else if (matchDomain('bloomberg.com')) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain('bloombergadria.com')) {
|
||||||
|
let article_hidden = document.querySelector('article[style]');
|
||||||
|
if (article_hidden)
|
||||||
|
article_hidden.removeAttribute('style');
|
||||||
|
let ads = document.querySelectorAll('.banner');
|
||||||
|
removeDOMElement(...ads);
|
||||||
|
}
|
||||||
|
|
||||||
else if (matchDomain('bostonglobe.com')) {
|
else if (matchDomain('bostonglobe.com')) {
|
||||||
if (window.location.search.startsWith('?outputType=amp')) {
|
if (window.location.search.startsWith('?outputType=amp')) {
|
||||||
amp_unhide_subscr_section();
|
amp_unhide_subscr_section();
|
||||||
|
@ -4899,6 +4907,8 @@ function ext_12ftLink(url, text_fail = 'BPC > Full article text:\r\n') {
|
||||||
}
|
}
|
||||||
|
|
||||||
function externalLink(domains, ext_url_templ, url, text_fail = 'BPC > Full article text:\r\n') {
|
function externalLink(domains, ext_url_templ, url, text_fail = 'BPC > Full article text:\r\n') {
|
||||||
|
if (domains.includes('search.google.com'))
|
||||||
|
text_fail = 'BPC > Full article text (copy html (tab) code to online html viewer):\r\n'
|
||||||
let text_fail_div = document.createElement('div');
|
let text_fail_div = document.createElement('div');
|
||||||
text_fail_div.id = 'bpc_archive';
|
text_fail_div.id = 'bpc_archive';
|
||||||
text_fail_div.setAttribute('style', 'margin: 20px; font-weight: bold; color:red;');
|
text_fail_div.setAttribute('style', 'margin: 20px; font-weight: bold; color:red;');
|
||||||
|
|
|
@ -51,5 +51,5 @@
|
||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"*://*/*"
|
"*://*/*"
|
||||||
],
|
],
|
||||||
"version": "3.0.7.1"
|
"version": "3.0.7.2"
|
||||||
}
|
}
|
||||||
|
|
|
@ -469,5 +469,10 @@
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"block_regex": "\\.tinypass\\.com",
|
"block_regex": "\\.tinypass\\.com",
|
||||||
"domain": "washingtontimes.com"
|
"domain": "washingtontimes.com"
|
||||||
|
},
|
||||||
|
"Wuv.de": {
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"domain": "wuv.de",
|
||||||
|
"ld_google_webcache": "div.paid-article|div.font-serif"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,6 +110,7 @@
|
||||||
"*://*.billboard.com/*",
|
"*://*.billboard.com/*",
|
||||||
"*://*.bizjournals.com/*",
|
"*://*.bizjournals.com/*",
|
||||||
"*://*.bloomberg.com/*",
|
"*://*.bloomberg.com/*",
|
||||||
|
"*://*.bloombergadria.com/*",
|
||||||
"*://*.bnd.com/*",
|
"*://*.bnd.com/*",
|
||||||
"*://*.bndestem.nl/*",
|
"*://*.bndestem.nl/*",
|
||||||
"*://*.bnn.de/*",
|
"*://*.bnn.de/*",
|
||||||
|
@ -744,5 +745,5 @@
|
||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "3.0.7.1"
|
"version": "3.0.7.2"
|
||||||
}
|
}
|
||||||
|
|
5
sites.js
5
sites.js
|
@ -233,6 +233,11 @@ var defaultSites = {
|
||||||
block_regex: /(\.tinypass\.com\/|assets\.bwbx\.io\/s\d\/(fence\/plug-client|javelin\/.+\/transporter)\/)/,
|
block_regex: /(\.tinypass\.com\/|assets\.bwbx\.io\/s\d\/(fence\/plug-client|javelin\/.+\/transporter)\/)/,
|
||||||
remove_cookies_select_drop: ["gatehouse_id"]
|
remove_cookies_select_drop: ["gatehouse_id"]
|
||||||
},
|
},
|
||||||
|
"Bloomberg Adria": {
|
||||||
|
domain: "bloombergadria.com",
|
||||||
|
allow_cookies: 1,
|
||||||
|
block_js_inline: /\.bloombergadria\.com\/.+\/news\//
|
||||||
|
},
|
||||||
"BQ Prime": {
|
"BQ Prime": {
|
||||||
domain: "bqprime.com",
|
domain: "bqprime.com",
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
{
|
{
|
||||||
|
"Bloomberg Adria": {
|
||||||
|
"domain": "bloombergadria.com",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_js_inline": "\\.bloombergadria\\.com\\/.+\\/news\\/",
|
||||||
|
"cs_code": "[{\"cond\":\"article[style]\",\"rm_attrib\":\"style\"}]"
|
||||||
|
},
|
||||||
"DH Les Sports+": {
|
"DH Les Sports+": {
|
||||||
"domain": "dhnet.be",
|
"domain": "dhnet.be",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
|
|
Loading…
Reference in a new issue