This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.