Close Browser don't Work

Discussion and feedback on Construct 2

Post » Thu Nov 05, 2015 8:47 pm

Hello

I made a HTML 5 game and added a button for close browser. but when I use Browser Close Action, it don't work.
I searched in forum and seen some video in Yotube for close Browser but I couldn't find any solution.

Please Guide Me to Solve This Proble.

Thanks A Lot.
B
8
S
1
Posts: 30
Reputation: 580

Post » Fri Nov 06, 2015 11:03 am

Think about this for a minute.. you are at work, have 50 tabs open. And a website suddenly closes your browser.
This can't work, for security reasons.
The close-action of the Browser object is only for windows that the website itself opened - and even with those, user settings could prevent that you can close them. There is no way to do that reliably (for good reason).
B
77
S
28
G
32
Posts: 481
Reputation: 19,763

Post » Thu Nov 12, 2015 2:04 pm

Think about this for a minute.. you are at work, have 50 tabs open. And a website suddenly closes your browser.
The close-action of the Browser object is only for windows that the website itself opened


right, But problem is that The close-action don't work when only one Window (Game window) is opened. :cry:
B
8
S
1
Posts: 30
Reputation: 580

Post » Thu Nov 12, 2015 2:44 pm

Yes, there is no way to do that I'm afraid (not that I know of anyway).
B
77
S
28
G
32
Posts: 481
Reputation: 19,763


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests