Join the AMA (Ask Me Anything) with Firefox leadership team to talk about Firefox priorities in 2024. Mark your calendar! Thursday, June 13, 17:00 - 19:00 UTC.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

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 as respostas (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.