Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window.open is now broken #2418

Closed
wodim opened this issue Oct 9, 2023 · 3 comments
Closed

window.open is now broken #2418

wodim opened this issue Oct 9, 2023 · 3 comments

Comments

@wodim
Copy link

wodim commented Oct 9, 2023

As discussed in #2405 you have added the following line to the adnauseam filter

*##+js(set, window.open, undefined)

This disables window.open in all websites, which means websites can no longer open new tabs using javascript.

@mneunomne
Copy link
Collaborator

True, @wodim , disabled this filter already. Thank you

@gbesacier
Copy link

You can disable the other one from the same commit too

*##+js(window-close-if, /plan/select?popup=noads)

Injecting javascript blindly in all webpages (*) to minimize a little annoyance on a specific website is insane. (It doesn't even fix the annoyance completely: the pop-up does still open and is immediately closed.)

@Pantyhose-X
Copy link

*##+js(set, window.open, undefined)

He can still open "new tab".
It only blocks all "new windows."

test open "new tab". https://www.w3schools.com/jsref/met_win_open.asp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants