473,386 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Disable the middle mouse button/ wheel mouse button

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
3 3485
hsriat
1,654 Expert 1GB
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
5,390 Expert Mod 4TB
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
16,027 Expert Mod 8TB
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

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

Similar topics

0
by: 6tc1 | last post by:
Hi all, I've got a UserControl that contains a few PictureBox objects. If I click on outside of the Picture in the UserControl, the scrolling with the mouse button works - however, no amount of...
0
by: Sunil | last post by:
Hello How to disable middle button (wheel) of mouse using Visual C++ or C++? The button should be disabled for all other applications until the disabling program is running. It means, it should be...
1
by: nicholas | last post by:
Hi, If on an asp.net page the user has just selected a value in a dropdownlist and scrolls with the wheel of his mouse, the selected value of the dropdownlist will change. How could I avoid...
2
by: wpollans | last post by:
Hello, I need to able to write JS that will click on a link with the middle mouse button - so that the link target will open in a new window or tab - using firefox. Or is there a better (more...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.