PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → How to close browser in Chrome and Firefox
How to close browser in Chrome and Firefox
Débuté par Meghana, 12 oct. 2016 09:43 - 1 réponse
Posté le 12 octobre 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
Membre enregistré
204 messages
Popularité : +4 (8 votes)
Posté le 12 octobre 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. "