Add Star Tribune
This commit is contained in:
parent
bfb9cd8e72
commit
a81a5bb91c
@ -126,6 +126,7 @@ Visit the [Firefox repository](https://bitbucket.org/magnolia1234/bypass-paywall
|
||||
[Pittsburgh Post Gazette](https://post-gazette.com) -
|
||||
[San Diego Union Tribune](https://sandiegouniontribune.com) -
|
||||
[San Francisco Chronicle](https://www.sfchronicle.com) -
|
||||
[Star Tribune](https://www.startribune.com) -
|
||||
[SunSentinel](https://www.sun-sentinel.com) -
|
||||
[The Boston Globe](https://www.bostonglobe.com) -
|
||||
[The Denver Post](https://www.denverpost.com) -
|
||||
|
@ -65,6 +65,7 @@ var allow_cookies = [
|
||||
'scribd.com',
|
||||
'seekingalpha.com',
|
||||
'slader.com',
|
||||
'startribune.com',
|
||||
'techinasia.com',
|
||||
'the-american-interest.com',
|
||||
'thehindu.com',
|
||||
|
@ -1066,6 +1066,17 @@ else if (matchDomain("nknews.org")) {
|
||||
removeDOMElement(excerpt, mobile_widget);
|
||||
}
|
||||
|
||||
else if (matchDomain("startribune.com")) {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
let react_modal_portal = document.querySelectorAll('div.ReactModalPortal');
|
||||
removeDOMElement(...react_modal_portal);
|
||||
let body_modal = document.querySelector('body.ReactModal__Body--open');
|
||||
if (body_modal)
|
||||
body_modal.classList.remove('ReactModal__Body--open');
|
||||
});
|
||||
}
|
||||
|
||||
ReactModalPortal
|
||||
// General Functions
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
@ -207,6 +207,7 @@
|
||||
"*://*.spectator.co.uk/*",
|
||||
"*://*.spectator.com.au/*",
|
||||
"*://*.standard.net.au/*",
|
||||
"*://*.startribune.com/*",
|
||||
"*://*.statista.com/*",
|
||||
"*://*.sueddeutsche.de/*",
|
||||
"*://*.sun-sentinel.com/*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user