Merge pull request #380 from magnolia1234/master
Fix NYTimes subscription form/Caixin Global & typo Bloomberg Quintmaster
commit
3f08e6df24
|
@ -8,7 +8,7 @@
|
|||
[Baltimore Sun](https://www.baltimoresun.com)\
|
||||
[Barron's](https://www.barrons.com)\
|
||||
[Bloomberg](https://www.bloomberg.com)\
|
||||
[Bloomberg Quint]('https://www.bloombergquint.com)\
|
||||
[Bloomberg Quint](https://www.bloombergquint.com)\
|
||||
[Business Insider](https://www.businessinsider.com)\
|
||||
[Caixin](https://www.caixinglobal.com)\
|
||||
[Chemical & Engineering News](https://cen.acs.org)\
|
||||
|
|
|
@ -160,6 +160,22 @@ if (window.location.href.indexOf('lemonde.fr') !== -1) {
|
|||
});
|
||||
}
|
||||
|
||||
if (window.location.href.indexOf("nytimes.com") !== -1) {
|
||||
const preview_button = document.querySelector('.css-3s1ce0');
|
||||
if (preview_button)
|
||||
preview_button.click();
|
||||
}
|
||||
|
||||
if (window.location.href.indexOf("caixinglobal.com") !== -1) {
|
||||
const appContent = document.getElementById('appContent');
|
||||
if (appContent) {
|
||||
const p_hidden = document.querySelectorAll('p:not([style="display:block;"]');
|
||||
for (var i = 0; i < p_hidden.length; i++) {
|
||||
p_hidden[i].setAttribute('style', 'display:block;');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
if (element) element.remove();
|
||||
|
|
|
@ -8,9 +8,11 @@
|
|||
"*://*.bizjournals.com/*",
|
||||
"*://*.bloomberg.com/*",
|
||||
"*://*.businessinsider.com/*",
|
||||
"*://*.caixinglobal.com/*",
|
||||
"*://*.ed.nl/*",
|
||||
"*://*.haaretz.co.il/*",
|
||||
"*://*.lemonde.fr/*",
|
||||
"*://*.nytimes.com/*",
|
||||
"*://*.nzherald.co.nz/*",
|
||||
"*://*.parool.nl/*",
|
||||
"*://*.repubblica.it/*",
|
||||
|
|
Loading…
Reference in New Issue