Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Is it possible to create a button in a visualization that would interact with the current client's browser? Specifically looking to close a chrome browser running in kiosk mode from within the webvisu.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to create a button in a visualization that would interact with the current client's browser? Specifically looking to close a chrome browser running in kiosk mode from within the webvisu.
Hey,
No this is not possible since browsers dont allow javascript to close windows which they have not opened.
See https://developer.mozilla.org/en-US/docs/Web/API/Window/close
Best regards,
Marcel
if the browser running on the plc ( raspberry pi)?
Hi @eschwellinger the browser will not be running on the PLC so unfortunately I cannot issue a SysProcessExecuteCommand to kill the browser