mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-12 01:10:24 +00:00
Fix Boston Globe
This commit is contained in:
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';
|
||||
|
2
sites.js
2
sites.js
@ -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…
Reference in New Issue
Block a user