dhowe / AdNauseam

AdNauseam: Fight back against advertising surveillance
GNU General Public License v3.0
4.45k stars 187 forks source link

window.open is now broken #2418

Closed wodim closed 9 months ago

wodim commented 9 months ago

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 commented 9 months ago

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

gbesacier commented 9 months ago

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 commented 8 months ago

*##+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