Disable Browser Back Button using Javascript

Sometimes it becomes a habit some people more often use the back button to return to the previous page. Is it good?

For some cases it is not what - what will be but what if forgot to log out? Sometimes if the forum postings to make cool suddenly hangs, and then repeat it back and we suddenly become double post. Or other events.

Ahhh, does not require that also use this trick when you need it but immediately wrote read here ...

There are two ways that we can use to disable the Back Button on your browser.

1. The first way is to create web pages in a new window. Example.

Index.php

So when index.php is executed it will display a new window into http://scriptexample.blogspot.com without the back button on your browser.

2. Or the second way to disable history. Forward.

Index.php

Then not_back.php

So while we want to prevent the user back to the index.php script using the above.

Source : http://cruzenaldo.com/disable-back-butto...avascript/

0 komentar:

Post a Comment

Just Comment. Not Spam!

 

Followers

There was an error in this gadget

Free Download Scripts and Source Code | © 2009 | edited by asal-klik