wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Disable browser refresh button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disable browser refresh button" Watch "Disable browser refresh button" New topic
Author

Disable browser refresh button

Deepshan Shetty
Greenhorn

Joined: May 28, 2012
Posts: 28
Hi

Can anyone help me with code to disable browser(IE and Mozilla) REFRESH button in java script.

Regards
S V Shetty
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
impossible to do it.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

InterfaceDesignersRule1


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4446
    
    5

Sorry to pile on to you like this, Deepshan, but just so there's no doubt in your mind as to how we feel about doing things like that: DON'T EVEN THINK ABOUT DOING IT!

Why on earth would you do that? How would you like if you were watching TV, then flip to a channel that for some diabolically obscene reason decided it didn't want you to be able to change the channel on your TV anymore? And what if that channel's purveyor of evil actually had the to technology to do so! I'm thinking you wouldn't like it very much, would you? You would probably curse that lousy, no-good, #@$*& channel to high heaven, right? Well, that's what users of your app would do if you succeeded in disabling their browser's refresh button.


Junilu - [How to Ask Questions] [How to Answer Questions]
 
jQuery in Action, 2nd edition
 
subject: Disable browser refresh button
 
Similar Threads
how to diable browser back button
macking backward button false in browser window
Disabling Refresh
Disable browser back button and refresh in jsp page
Disabling Back and Refresh/Reload button.