ID:271073
 
Is it possible to force a pop up window to close? What should I look up for this?
Just send the person nothing instead of HTML and it'll close it. Note that if you don't have "window=" in the extra, it'll close all browsers (pop-up and those in the browser tab). If you misspell the windows name, than nothing will happen (as i will try to close an imaginary window).

mob/verb
show_browser()
usr<<browse("Hi","window=hxi")
close_browser()
usr<<browse(null,"window=hxi") //will cause the popup with the window name 'hxi' to close


- GhostAnime
In response to GhostAnime
Simple enough.

Thank you
In response to Prodigal Squirrel
You're welcome.

- GhostAnime
In response to GhostAnime
Ghost - correct, except for:

GhostAnime wrote:
Note that if you don't have "window=" in the extra, it'll close all browsers (pop-up and those in the browser tab).

That's not true. It would actually be nice if it worked, though.