?
Solved

javascript browser close message

Posted on 2011-10-24
2
Medium Priority
?
582 Views
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">
      window.open('','_self','');
      window.close();
</script>



 ieclose.gif
0
Comment
Question by:NJJoeG8GT
  • 2
2 Comments
 
LVL 20

Accepted Solution

by:
chaitu chaitu earned 2000 total points
ID: 37017437
you cannot avoid this alert message.this is browser default alet box when you close the browser.
0
 
LVL 20

Assisted Solution

by:chaitu chaitu
chaitu chaitu earned 2000 total points
ID: 37017445
even when you close gmail you will se this same experience
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Following on from our article on "The Murky World of Consent and opt in", we thought we would issue some helpful guidance, not only on consent itself but knowing what information you are capturing, what you are doing with this data and how you can p…
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

840 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