Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

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.

All Replies (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.