mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-12 01:10:24 +00:00
Fix Bloomberg (edition)
This commit is contained in:
parent
64d5612f33
commit
e4ca1bf71e
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
Fix ArcInfo.ch (refresh)
|
Fix ArcInfo.ch (refresh)
|
||||||
|
Fix Bloomberg (edition)
|
||||||
Fix The Hindu (geoId-fix redundant)
|
Fix The Hindu (geoId-fix redundant)
|
||||||
|
|
||||||
* v2.8.8.0 (2022-10-09)
|
* v2.8.8.0 (2022-10-09)
|
||||||
|
@ -2563,15 +2563,14 @@ else if (matchDomain('bloomberg.com')) {
|
|||||||
function bloomberg_noscroll(node) {
|
function bloomberg_noscroll(node) {
|
||||||
node.removeAttribute('data-paywall-overlay-status');
|
node.removeAttribute('data-paywall-overlay-status');
|
||||||
}
|
}
|
||||||
waitDOMElement('div#fortress-paywall-container-root', 'DIV', removeDOMElement, true);
|
waitDOMElement('div[id^="fortress-"]', 'DIV', removeDOMElement, true);
|
||||||
waitDOMAttribute('body', 'BODY', 'data-paywall-overlay-status', bloomberg_noscroll, true);
|
waitDOMAttribute('body', 'BODY', 'data-paywall-overlay-status', bloomberg_noscroll, true);
|
||||||
let paywall = document.querySelector('div#fortress-paywall-container-root');
|
let paywall = document.querySelectorAll('div[id^="fortress-"]');
|
||||||
let counter = document.querySelector('div#fortress-preblocked-container-root');
|
|
||||||
let leaderboard = document.querySelector('div[id^="leaderboard"], div[class^="leaderboard"], div.canopy-container');
|
let leaderboard = document.querySelector('div[id^="leaderboard"], div[class^="leaderboard"], div.canopy-container');
|
||||||
let noscroll = document.querySelector('body[data-paywall-overlay-status]');
|
let noscroll = document.querySelector('body[data-paywall-overlay-status]');
|
||||||
if (noscroll)
|
if (noscroll)
|
||||||
noscroll.removeAttribute('data-paywall-overlay-status');
|
noscroll.removeAttribute('data-paywall-overlay-status');
|
||||||
removeDOMElement(paywall, counter, leaderboard);
|
removeDOMElement(...paywall, leaderboard);
|
||||||
sessionStorage.clear();
|
sessionStorage.clear();
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
if (url.match(/s\/\d{4}-/)) {
|
if (url.match(/s\/\d{4}-/)) {
|
||||||
|
@ -717,5 +717,5 @@
|
|||||||
"*://gcm.omerlocdn.com/*",
|
"*://gcm.omerlocdn.com/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "2.8.8.2"
|
"version": "2.8.8.3"
|
||||||
}
|
}
|
||||||
|
2
sites.js
2
sites.js
@ -208,7 +208,7 @@ var defaultSites = {
|
|||||||
"Bloomberg": {
|
"Bloomberg": {
|
||||||
domain: "bloomberg.com",
|
domain: "bloomberg.com",
|
||||||
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_hold: ["bb_geo_info"]
|
remove_cookies_select_drop: ["gatehouse_id"]
|
||||||
},
|
},
|
||||||
"BQ Prime": {
|
"BQ Prime": {
|
||||||
domain: "bqprime.com",
|
domain: "bqprime.com",
|
||||||
|
@ -1,18 +1,8 @@
|
|||||||
{
|
{
|
||||||
"Aachener Nachrichten": {
|
"Bloomberg": {
|
||||||
"domain": "aachener-nachrichten.de",
|
"domain": "bloomberg.com",
|
||||||
"allow_cookies": 1,
|
"block_regex": "(\\.tinypass\\.com\\/|assets\\.bwbx\\.io\\/s\\d\\/(fence\\/plug-client|javelin\\/.+\\/transporter)\\/)",
|
||||||
"useragent": "googlebot"
|
"remove_cookies_select_drop": ["gatehouse_id"]
|
||||||
},
|
|
||||||
"Aachener Zeitung": {
|
|
||||||
"domain": "aachener-zeitung.de",
|
|
||||||
"allow_cookies": 1,
|
|
||||||
"useragent": "googlebot"
|
|
||||||
},
|
|
||||||
"Clarín": {
|
|
||||||
"domain": "clarin.com",
|
|
||||||
"allow_cookies": 1,
|
|
||||||
"block_regex": "\\.clarin\\.com\\/.+\\/auth\\d\\.js"
|
|
||||||
},
|
},
|
||||||
"Corriere dello Sport": {
|
"Corriere dello Sport": {
|
||||||
"domain": "corrieredellosport.it",
|
"domain": "corrieredellosport.it",
|
||||||
@ -23,26 +13,11 @@
|
|||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)"
|
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)"
|
||||||
},
|
},
|
||||||
"General-Anzeiger Bonn": {
|
|
||||||
"domain": "ga.de",
|
|
||||||
"allow_cookies": 1,
|
|
||||||
"useragent": "googlebot"
|
|
||||||
},
|
|
||||||
"Medscape (regwall)": {
|
"Medscape (regwall)": {
|
||||||
"domain": "medscape.com",
|
"domain": "medscape.com",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"block_regex": "\\.medscapestatic\\.com\\/.+\\/medscape-library\\.js"
|
"block_regex": "\\.medscapestatic\\.com\\/.+\\/medscape-library\\.js"
|
||||||
},
|
},
|
||||||
"Rheinische Post": {
|
|
||||||
"domain": "rp-online.de",
|
|
||||||
"allow_cookies": 1,
|
|
||||||
"useragent": "googlebot"
|
|
||||||
},
|
|
||||||
"Saarbrücker Zeitung": {
|
|
||||||
"domain": "saarbruecker-zeitung.de",
|
|
||||||
"allow_cookies": 1,
|
|
||||||
"useragent": "googlebot"
|
|
||||||
},
|
|
||||||
"The Critic": {
|
"The Critic": {
|
||||||
"domain": "thecritic.co.uk",
|
"domain": "thecritic.co.uk",
|
||||||
"block_regex": "\\.hadrianpaywall\\.com\\/"
|
"block_regex": "\\.hadrianpaywall\\.com\\/"
|
||||||
@ -51,10 +26,5 @@
|
|||||||
"domain": "washingtonpost.com",
|
"domain": "washingtonpost.com",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"block_regex": "\\.washingtonpost\\.com\\/tetro\\/metering\\/evaluate"
|
"block_regex": "\\.washingtonpost\\.com\\/tetro\\/metering\\/evaluate"
|
||||||
},
|
|
||||||
"Trierischer Volksfreund": {
|
|
||||||
"domain": "volksfreund.de",
|
|
||||||
"allow_cookies": 1,
|
|
||||||
"useragent": "googlebot"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user