This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

add button from a script and stop browser when button depressed

more options

i programmatically fire up the browser from an application. i want to add a button and connect the button to an onClick event to stop the browser. I did try window.Close(), but that does not work. app -> start firefox -> runs my own script -> on the script i have an exit button -> depress exit button -> back to app.

i programmatically fire up the browser from an application. i want to add a button and connect the button to an onClick event to stop the browser. I did try window.Close(), but that does not work. app -> start firefox -> runs my own script -> on the script i have an exit button -> depress exit button -> back to app.

Todas las respuestas (1)

more options

Enabling a separate application to manipulate a control in a page in a Firefox tab is somewhat beyond the scope of this forum. I suggest: Where to go for developer support.