• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 658
  • Last Modified:

javascript browser close message

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">

  • 2
2 Solutions
chaitu chaituCommented:
you cannot avoid this alert message.this is browser default alet box when you close the browser.
chaitu chaituCommented:
even when you close gmail you will se this same experience
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now