Disable close button - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Disable close button

Pointer Pointer Posts: 8Member
How can i disable the close button in the top right corner, in javascript?
Pointer T
...---=== :) ===---...

Comments

  • borislavborislav Posts: 16Member
    : How can i disable the close button in the top right corner, in javascript?
    : Pointer T
    : ...---=== :) ===---...
    :
    :

    No u cannot do this, but with little trick u can avoid closing your browser window. Use this on the body unload event:



Sign In or Register to comment.