javascript browser close message

Posted on 2011-10-24
Last Modified: 2012-05-12
I have a script that runs in a browser.. after the script runs i need it to close the browser.   this script works but i get this prompt.  
Is there a browser option to let the script close the window?  

<script language="javascript">'','_self','');

Question by:NJJoeG8GT
    LVL 20

    Accepted Solution

    you cannot avoid this alert message.this is browser default alet box when you close the browser.
    LVL 20

    Assisted Solution

    by:chaitu chaitu
    even when you close gmail you will se this same experience

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
    I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
    Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
    This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now