Re: Close browser from inside HTML-context (using a specific firefox-profile)?

[email protected] 10 Nov 2005 01:40:06 -0800
Newsgroups gmane.comp.mozilla.devel.windows
Organization http://groups.google.com
Message-ID <1131615606.038003.327480__32525.3486902968$1131616898$gmane$org@g47g2000cwa.googlegroups.com>
Well, unfortunately i have to present a button inside the
"html-context". If the user clicks on it the "application" (and thus
firefox.exe a process itself) should be closed (after the usual "are
you really sure you want to quit?" pop-up question)

So the point is to close firefox from inside the HTML-rendering
context. While I do know that this isn't allowed normally i'd like to
ask if there is a way to edit the profile (maybe of javascript) to
allow so...

Again is will run in a kind of kiosk mode in fullscreen using autohide
extension (firefox.exe -fullscreen switch) and MenuEditor (changing all
menu entries including the context menu)

So i already configured the UI to my need and the last open question is
how to solve the shutdown of the process ...
Any ideas?

Thanks,
andreas