Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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.