搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.

所有回覆 (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.