Close Browser don't Work

  • 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.

  • 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).

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • [quote:2vs5umrd]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.

  • Yes, there is no way to do that I'm afraid (not that I know of anyway).

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)