Fix Star Tribune (images/comments)

This commit is contained in:
magnolia1234 2023-07-18 08:50:51 +02:00
parent 333a9427fc
commit b447150e69
6 changed files with 14 additions and 5 deletions

View file

@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release
Fix Medium (identify member-only)
Fix Star Tribune (images/comments)
Maintenance request host permission (disable for mobile)
* v3.2.5.0 (2023-07-16)

View file

@ -4416,8 +4416,12 @@ else if (matchDomain('staradvertiser.com')) {
}
else if (matchDomain('startribune.com')) {
let modal = document.querySelector('body.ReactModal__Body--open');
if (modal)
modal.classList.remove('ReactModal__Body--open');
let banner = document.querySelector('body:not(.page-article) div.ReactModalPortal');
let ads = document.querySelectorAll('div.ad-placeholder');
removeDOMElement(...ads);
removeDOMElement(banner, ...ads);
}
else if (matchDomain('stocknews.com')) {

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.2.5.1"
"version": "3.2.5.2"
}

View file

@ -754,5 +754,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.2.5.1"
"version": "3.2.5.2"
}

View file

@ -1846,8 +1846,7 @@ var defaultSites = {
},
"Star Tribune": {
domain: "startribune.com",
allow_cookies: 1,
block_regex: /\.startribune\.com\/vendor\/js\//
remove_cookies_select_drop: ["client_id"]
},
"Statista": {
domain: "statista.com",

View file

@ -155,6 +155,11 @@
"amp_unhide": 1,
"new_site": 1
},
"Star Tribune": {
"domain": "startribune.com",
"remove_cookies_select_drop": ["client_id"],
"upd_version": "3.2.5.2"
},
"Stuttgarter Zeitung": {
"domain": "stuttgarter-zeitung.de",
"allow_cookies": 1,