How to perform window.close or History.back by mobile browsers

Hello,
I am currently developing a WebAR application using ZapWorks Studio.
This time, we would like to install a button in the application and close the window when the button is tapped, or implement a browser back.
The target browsers are Safari on iOS and Chrome on Android.

The following instructions are provided in JavaScript for use on the web, but I don’t think they are in the ZapWorks Studio scripting reference.
window.close

History.back

Is there a way to achieve the equivalent of window.close or History.back in ZapWorks Studio? Any ideas on how to achieve this would be appreciated.

Thanks.

1 Like