Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to close the browser

 
Michael Waserman
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Upon finishing the session I would like to automatically close the browser for security purposes. How can I do it?

Thanks. Michael.
 
Ray Stojonic
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I presume you're talking about a web browser, like Firefox?

Because of the problems that would arise from being able to do this, it can't be done. You can 'suggest' the browser be closed via javascript, but the user will still get a pop-up asking if they want to close the window.
 
Daksh Sharma
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It cud be done using window.close() but then pop window will ask u whether u want to close the window or not

Offcourse this is javascript
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic