Function Javascript close windows

Hello Iam a new user of Hype.
I need to know the function of a botton to close a window.

Thank you .


You would attach this JavaScript to a button using Hype’s JavaScript editor:


Thank you for your request …


I tried this @Daniel but am not having any luck? Any ideas? (43.1 KB)

This works for me in Chrome and Safari – in what browser or device is it not working for you?

@Daniel Using Firefox on OS 10.13.1

By default Firefox has the following setting in it’s config file:


Unless you get all your users to change this then I think it is a no no.

If anyone does find a solution i’d also be grateful to know it also.