tumpio / gmscripts

tumpio's usercripts
https://openuserjs.org/users/tumpio
MIT License
61 stars 28 forks source link

Only scroll after long press #32

Open joeytwiddle opened 2 years ago

joeytwiddle commented 2 years ago

Hey it's me again, with a new feature! No problem if you don't want to merge this. But I'm pleased with it, so I wanted to share.

I found right-click problematic on Linux due to the context menu, and middle-click problematic for security, because it kept pasting my clipboard into random websites!

So I thought of an alternative:

I have not change this script's default behaviour. To try the new feature, set:

You can also try this feature, already enabled, in my fork: Scroll Everywhere [fork] by joeywwiddle - Greasy Fork

Additional:

Because this feature is intended for (but not limited to) the left mouse button, but that button is used for lots of other things, there may be some edge-cases to deal with.

Please leave me a couple of weeks to iron them all out...!