On Tab/Browser close

Get help using Construct 2

Post » Wed Apr 17, 2013 11:38 am

Is there any solution to check if the user tries to close the browser/tab ? Or is there a plugin for that ?

Already searched but found nothing.
B
15
S
6
G
6
Posts: 512
Reputation: 5,555

Post » Thu May 16, 2013 9:37 am

You can find it in the browser object:

Browser>On suspended

But this condition also includes, switching the tab or minimizing the browserxoros2013-05-16 09:39:10
B
44
S
11
G
4
Posts: 507
Reputation: 7,348

Post » Thu May 16, 2013 9:49 am

Yeah, and it doesnt work on every browser. But thanks got a solution already
B
15
S
6
G
6
Posts: 512
Reputation: 5,555

Post » Fri May 17, 2013 8:56 am

What solution did you get? Cause I'm also having troubles with different browsers.
B
44
S
11
G
4
Posts: 507
Reputation: 7,348


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], Phoenixbowman and 7 guests