mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:57:48 +01:00
Fix NYTimes subscription form
This commit is contained in:
parent
8372b8d6df
commit
b75af7d454
2 changed files with 8 additions and 0 deletions
|
@ -160,6 +160,13 @@ 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();
|
||||
}
|
||||
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
if (element) element.remove();
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
"*://*.ed.nl/*",
|
||||
"*://*.haaretz.co.il/*",
|
||||
"*://*.lemonde.fr/*",
|
||||
"*://*.nytimes.com/*",
|
||||
"*://*.nzherald.co.nz/*",
|
||||
"*://*.parool.nl/*",
|
||||
"*://*.repubblica.it/*",
|
||||
|
|
Loading…
Reference in a new issue