By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,518 Members | 857 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,518 IT Pros & Developers. It's quick & easy.

Disable the middle mouse button/ wheel mouse button

P: 45
Hi
I want to disable the Middle or Wheel mouse button by using the javascript for the browser FireFox and Opera. Give any idea to do this.

Thanks in Advance.
Geethu.
Jun 19 '08 #1
Share this Question
Share on Google+
3 Replies


hsriat
Expert 100+
P: 1,654
That can't be done as such. But you can tell us your actual need so that we can think for an alternate solution.
Jun 19 '08 #2

gits
Expert Mod 5K+
P: 5,390
that is quite true :) ... and one more note: struggling with the users devices is just bad UI-design/usability design, the user WANTS to use his screen the way he configured it (maxing browser-windows is bad), his mouse-buttons and wheels (he bought it may be especially for this usage he wanted 3 or even more buttons), he wants to copy&paste per mouse or keyboard (he learned it and it is common usage), etc. ... so in case you think that he shouldn't do so you should have a content or some cool things at your site so that the user will accept the annoying suppressing of his learned behaviour ... or you should have a very, very good new usability-concept ...

kind regards
Jun 20 '08 #3

acoder
Expert Mod 15k+
P: 16,027
You can disable or control the behaviour of the middle button and mousewheel in about:config or in the preferences in Firefox, though again, that is up to each individual user and cannot be set using JavaScript. Not sure about Opera.
Jun 20 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.