How can we close the browser window?

Hi everyone,

How can we close the browser window on a mobile device (not just a tab)?


Run this code:

Use toolbox plugin to do so.

Also here is a joke for fun only:
Show a text in the page telling your user to press CTRL+W to enable the premium plan for free :joy: :sweat_smile:

1 Like

Let them do the hard work

haha… the user is installing a file to their desktop, so I am attempting to make the browser automatically close to see the file. @vini_brito would the code run as the last workflow or does it run on the page using the toolbox JS plugin?


Thanks for the insights

Just a side note,

If you are not opening your tab programmatically ( using window.location) you can’t close using the window.close


This topic was automatically closed after 70 days. New replies are no longer allowed.