new plugin: NoMouseNavigation
NoMouseNavigation allows users to disable the default handling of mouse side buttons (3 and 4).
Many people use side buttons for PTT. By default, Discord will handle those by navigating forward/backward through visited pages while the app is in focus, causing severe butthurt for PTT users. This plugin simply prevents the default behavior, PTT continues working normally.
P.S. I'm not sure if adding myself into the dev list in constants.ts is appropriate, but looking through other plugins, I couldn't find any files where authors are added in the way described by 2_PLUGINS.md, so I assumed this is the new undocumented standard? Anyways, I can always revert that, just lmk.
I tested and it seems like mouseup is not being fired for my side buttons, which makes the plugin not work
works for me. on linux, maybe this is platform dependant?
I tested and it seems like mouseup is not being fired for my side buttons, which makes the plugin not work
Which OS are you on? If you're on Linux, which distro and are you on X11 or Wayland?
I tested and it seems like mouseup is not being fired for my side buttons, which makes the plugin not work
Which OS are you on? If you're on Linux, which distro and are you on X11 or Wayland?
windows haha
I tested and it seems like mouseup is not being fired for my side buttons, which makes the plugin not work
Which OS are you on? If you're on Linux, which distro and are you on X11 or Wayland?
windows haha
Can't reproduce at all... But it should work the same way everywhere.
Do you want to say that it navigates on mousedown for you? What if you replace the handled event to mousedown?