Disable mouse right-click?
Disable mouse right-click?
Is there anything I can do to prevent my right mouse button from acting like a normal click? I want the left button (normal click event) to do all the things, not both buttons.
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Disable mouse right-click?
Not that I know of unless you can find a browser extension with that function.
Re: Disable mouse right-click?
What do you think about providing the option in the client?
Re: Disable mouse right-click?
Btw this does it, just need to use a chrome extension that will run javascript when visiting specific sites, there are plenty:
Code: Select all
window.addEventListener('mousedown', function (event) {
if (event.button != 0) {
event.stopImmediatePropagation();
}
}, { capture: true });
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Disable mouse right-click?
Why is it an issue for you? Just don't use the right button.
Re: Disable mouse right-click?
I sometimes click it on accident