• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disable browser refresh button

 
Deepshan Shetty
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
impossible to do it.

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
 
Junilu Lacar
Bartender
Pie
Posts: 7795
62
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic