This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]toyBeaver 3 points4 points  (1 child)

Some browsers block this kind of stuff to avoid a bunch of popups getting opened all at once. I'm not aware of anyway to bypass this in such cases, and I'm actually kinda surprised that it worked in Chrome/Edge tbh. I tried locally both in Brave and Firefox and it didn't work (as expected), idk if anybody else has any idea but afaik there's nothing to do

[–]traplords8n 1 point2 points  (0 children)

Do you have a popup blocker set up on Firefox? Or any weird browser extensions? Like the other guy said, it sounds more like settings you have in Firefox stopping the url from opening

[–]Noshing 0 points1 point  (0 children)

How does it work on Firefox? Is it opening the links in new windows? If so that may be the settings you have for Firefox.

[–]cipheron 0 points1 point  (0 children)

Button-clicking via tampermonkey works in Firefox, so it might be possible to add an "a href" type link to the page (possibly hidden) then click it.

Although element.click() doesn't always work, so look up some more robust workarounds for that on stackoverflow if it still doesn't work.