PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → How to close browser in Chrome and Firefox
How to close browser in Chrome and Firefox
Iniciado por Meghana, 12,oct. 2016 09:43 - 1 respuesta
Publicado el 12,octubre 2016 - 09:43
Hello,

In my application I have given one option "Disconnect" where I want to close the current browser.

I have used "Browserclose()" function to close the current browser.

This works fine when I run URL in Internet Explorer but when I open the same URL in google chrome or in firefox this option doesn't work.

Can anyone please suggest me how I can close the browser in Chrome as well ass in firefox.

Thanks in advance.

Meghana
Miembro registrado
204 mensajes
Popularité : +4 (8 votes)
Publicado el 12,octubre 2016 - 14:18
http://doc.pcsoft.fr/en-US/?3055007&name=browserclose_function&productversion=06F180046J&product=WM

Firefox: For security reasons, Firefox refuses to close the browser if this one was not opened by BrowserOpen.
Same thing for Chrome.

The simple anwser is " you can't do this. "