Fix Boston Globe

merge-requests/3/head
magnolia1234 3 years ago
parent 119ef00a1c
commit 87ffacb5c6

@ -4,10 +4,11 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Artnet
Add Internazionale.it
Fix The Business of Fashion
Fix Boston Globe
Fix El Mundo & Groupe EBRA (amp-iframe)
Fix Gannett Group (permissions for listed sites)
Fix Live Law (permission)
Fix The Business of Fashion
Fix The New Yorker (amp)
Fix TheTimes.co.uk (only link to archive.today)
Remove Saechsische Zeitung (obsolete)

@ -1706,17 +1706,6 @@ else if (matchDomain('bloombergquint.com')) {
}
else if (matchDomain('bostonglobe.com')) {
let paywall = document.querySelector('div.meter-paywall, div.incognito-paywall');
let fade = document.querySelector('div.fade');
if (paywall || fade) {
removeDOMElement(paywall);
let body_hidden = document.querySelector('body[style]');
if (body_hidden)
body_hidden.removeAttribute('style');
let continue_button = document.querySelector('button.continue_button');
if (continue_button)
continue_button.click();
}
let ads = document.querySelectorAll('div.arc_ad');
for (let ad of ads)
ad.style = 'display:none';

@ -1347,7 +1347,7 @@ var defaultSites = {
"The Boston Globe": {
domain: "bostonglobe.com",
allow_cookies: 1,
block_regex: /\.blueconic\.net\//
block_regex: /(\.blueconic\.net\/|meter\.bostonglobe\.com\/js\/)/
},
"The Business Journals": {
domain: "bizjournals.com",

@ -27,6 +27,11 @@
"allow_cookies": 1,
"block_regex": "\\.internazionale\\.it\\/assets\\/js\\/main\\.\\d{2,}\\.js"
},
"The Boston Globe": {
"domain": "bostonglobe.com",
"allow_cookies": 1,
"block_regex": "(\\.blueconic\\.net\\/|meter\\.bostonglobe\\.com\\/js\\/)"
},
"The Business of Fashion": {
"domain": "businessoffashion.com",
"allow_cookies": 1,

Loading…
Cancel
Save