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
|
||||
Fix ArcInfo.ch (refresh)
|
||||
Fix Bloomberg (edition)
|
||||
Fix The Hindu (geoId-fix redundant)
|
||||
|
||||
* v2.8.8.0 (2022-10-09)
|
||||
|
@ -2563,15 +2563,14 @@ else if (matchDomain('bloomberg.com')) {
|
||||
function bloomberg_noscroll(node) {
|
||||
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);
|
||||
let paywall = document.querySelector('div#fortress-paywall-container-root');
|
||||
let counter = document.querySelector('div#fortress-preblocked-container-root');
|
||||
let paywall = document.querySelectorAll('div[id^="fortress-"]');
|
||||
let leaderboard = document.querySelector('div[id^="leaderboard"], div[class^="leaderboard"], div.canopy-container');
|
||||
let noscroll = document.querySelector('body[data-paywall-overlay-status]');
|
||||
if (noscroll)
|
||||
noscroll.removeAttribute('data-paywall-overlay-status');
|
||||
removeDOMElement(paywall, counter, leaderboard);
|
||||
removeDOMElement(...paywall, leaderboard);
|
||||
sessionStorage.clear();
|
||||
let url = window.location.href;
|
||||
if (url.match(/s\/\d{4}-/)) {
|
||||
|
@ -717,5 +717,5 @@
|
||||
"*://gcm.omerlocdn.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": {
|
||||
domain: "bloomberg.com",
|
||||
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": {
|
||||
domain: "bqprime.com",
|
||||
|
@ -1,18 +1,8 @@
|
||||
{
|
||||
"Aachener Nachrichten": {
|
||||
"domain": "aachener-nachrichten.de",
|
||||
"allow_cookies": 1,
|
||||
"useragent": "googlebot"
|
||||
},
|
||||
"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"
|
||||
"Bloomberg": {
|
||||
"domain": "bloomberg.com",
|
||||
"block_regex": "(\\.tinypass\\.com\\/|assets\\.bwbx\\.io\\/s\\d\\/(fence\\/plug-client|javelin\\/.+\\/transporter)\\/)",
|
||||
"remove_cookies_select_drop": ["gatehouse_id"]
|
||||
},
|
||||
"Corriere dello Sport": {
|
||||
"domain": "corrieredellosport.it",
|
||||
@ -23,26 +13,11 @@
|
||||
"allow_cookies": 1,
|
||||
"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)": {
|
||||
"domain": "medscape.com",
|
||||
"allow_cookies": 1,
|
||||
"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": {
|
||||
"domain": "thecritic.co.uk",
|
||||
"block_regex": "\\.hadrianpaywall\\.com\\/"
|
||||
@ -51,10 +26,5 @@
|
||||
"domain": "washingtonpost.com",
|
||||
"allow_cookies": 1,
|
||||
"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