Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webextentions port #19

Open
SquirrelPerson opened this issue Aug 5, 2017 · 5 comments
Open

Webextentions port #19

SquirrelPerson opened this issue Aug 5, 2017 · 5 comments

Comments

@SquirrelPerson
Copy link

I'm using Nightly and while the fact that this extention kept working in the initial 57 update made me hopeful, today it broke (57.0a1)

I'd be very grateful If you could somehow turn this addon into a webextentions one.
This is the only mouse gesture addon that I know that supports horizontal scrolling to change tabs, which is the only gesture I ever use on my laptop :(

I'm a certified software tester now, I'll gladly help you with testing if you decide to port it.

@Noitidart
Copy link
Owner

Thank you so much @SquirrelPerson for being a user and creating this topic. MouseControl is my first award winning addon and I really want to make it future proof. I plan to use Electron and then connect it via WebExtension to the browser. This will work regardless of what browser you are using, Firefox, Chrome, Opera, Vivaldi, and Edge!

I wish I had the time to do this, but right now I don't. But I very badly want to.

If there is anyone with electron, webextension (native messaging), and then mouse hook platform api's experience I would love to collaborate with you.

@tumpio
Copy link

tumpio commented Apr 29, 2018

Hi @Noitidart! I really missed the tab switching of MouseControl using the mouse wheel. Yesterday I pushed my own add-on to AMO that implements it as a web extension using the in page content-script javascript mouse event listeners.

It has many limitations that you are probably known of. Most severe are that the content scripts cannot be loaded to any internal Firefox pages or Mozilla privileged hosts and mouse events cannot be registered anywhere outside of a loaded page (that has to be loaded through a host from http/https) in Firefox.

I browsed bugzilla today if there will be any further support for mouse gestures add-ons, but that seems very bleak. See the bug https://bugzilla.mozilla.org/show_bug.cgi?id=1428485 where the support was disapproved. Maybe there will be native support someday but that probably will take a long time.

I like your idea of implementing MouseControl using the native messaging API, but I really think that browsers extensions should work out of the box and not need any external applications to be installed.

If there is anyone with electron, webextension (native messaging), and then mouse hook platform api's experience I would love to collaborate with you.

I have very little experience of electron, tried it once :) . The other two are out of my experience.

@Noitidart
Copy link
Owner

Heyyy @tumpio, long time! Thanks for that research and your addon. What is it by the way? I would love to use it.

but I really think that browsers extensions should work out of the box and not need any external applications to be installed.

I strongly agree with you. And in my research 95% of users also agree and don't go through to the steps to install a binary that is not reviewed by anyone but the developer themselves. There is a good chunk that can't even figure out how to install it. So I haven't pursued this, I feel it may not be worthwhile.

@tumpio
Copy link

tumpio commented May 9, 2018

Here it is https://addons.mozilla.org/addon/mousecommander/
and the source code is available here https://github.com/tumpio/mousecommander/

And it also has the notorious issue with the context menu using right click gestures in Linux and Mac :/

@Noitidart
Copy link
Owner

Wowww I love our gui!! Thanks for being so inspired by MouseControl!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants