OpenUserJS
  • Userscripts
  • Libraries
  • Groups
  • Discussions
  • Users
  • Sign In / Sign Up

NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.

Alorel Author

  • Profile
  • Scripts 5
  • Comments 2
  1. joeytwiddle
  2. Github Notifications Dropdown
  3. Issues
  4. Limit the functionality to left mouse button
Alorel Author
May 2016

[EDIT] Changed the link after a commit: https://github.com/Alorel/wikia-remove-intersitial-modal/blob/2462fc84dfbb43a0851d19960ad6de91be420a86/wikia-skip-ad.user.js#L28


  1. joeytwiddle
  2. Github Notifications Dropdown
  3. Issues
  4. Limit the functionality to left mouse button
Alorel Author
May 2016

Heya. A lot of people, myself included, open a lot of links with the middle mouse button, making them load in the background. Could you please trigger your dropdown only on left clicks?

Ref: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button
Example usage: https://github.com/Alorel/wikia-remove-intersitial-modal/blob/master/wikia-skip-ad.user.js#L28


Donate © 2013+ OpenUserJS
  • About
  • Terms of Service
  • Privacy Policy
  • DMCA
  • Development
  • Collaborators

Donate for the site OpenUserJS

Are you sure you want to go to an external site to donate a monetary value?

WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
Donate