Fix Boston Globe

This commit is contained in:
magnolia1234 2021-12-05 18:36:21 +01:00
parent c67420359f
commit 518cc0bd9b
4 changed files with 8 additions and 13 deletions

View File

@ -4,10 +4,11 @@ Changelog Bypass Paywalls Clean - Chrome
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)

View File

@ -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';

View File

@ -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",

View File

@ -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,