View Full Version : Disabling Mouse-Buttons

07-21-2007, 06:48 PM
Hi there..

i just wondered if its possible to disable more mouse-buttons then 1 or 2..
like when u have more buttons on your mouse, like 5..
is there a way to disable those too? in firefox!

thx for any info !

07-22-2007, 01:05 AM
I don't really see the point, considering those buttons would be customized for each user, so you have no idea what you are disabling.
I think I have at some point screen scripts that specify a button number, so you could probably use that, though I might be imagining things.

It's generally a very bad idea to disable system/user configurated options.

Is there something particular you are trying to accomplish? There may be another way.

07-22-2007, 04:05 AM
hmm.. i see..

well i thought about disabling the "back" feature of the browser..
the page just visited one click before...

i want this because of some dynamic ajax content..

thx again

07-22-2007, 08:25 AM
There is almost certainly a better way around this than trying to hijack various functions of the browser.

07-22-2007, 03:50 PM
hmm.. well can u give me a hint please..
u mean sumthing different then javascript ?

07-22-2007, 04:25 PM
I'm no expert with Ajax, but the answer is probably not trying to change how the browser functions. If a default option in the browser causes trouble for your page, it's your job to code your page better, not change how the browser works.

Not sure on the details on this one. It's certainly possible to work with the browser history, though, as shown with gmail and other sites.

For specific help, link to the page in question.