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

Navigation menu as default #3

Open
bdcomp opened this issue Jan 9, 2018 · 4 comments
Open

Navigation menu as default #3

bdcomp opened this issue Jan 9, 2018 · 4 comments
Assignees
Milestone

Comments

@bdcomp
Copy link

bdcomp commented Jan 9, 2018

Is it possible to make the navigation menu as the default action for left click, instead of right click + submenu?
Maybe as an option via the add-on settings?

@fnxweb
Copy link
Owner

fnxweb commented Jan 9, 2018

I'll have a look; the context menu is wholly Firefox's, but I may be able to trigger popping it up via a left click.

Except. The popup UI that's there is part of the extension manifest so I'm not sure I can change that on the fly. I'd also have to look at popping it up manually instead of getting FF to attach it to the button.

Really, the new WebExtensions API is very limiting compared to what we had before :-/

@bdcomp
Copy link
Author

bdcomp commented Jan 11, 2018

Do you miss a particular API?
If so, you may just ask for it, like here - bug 1352598.

@fnxweb fnxweb self-assigned this Jan 12, 2018
@fnxweb fnxweb added this to the 2.0.3 milestone Jan 12, 2018
@fnxweb
Copy link
Owner

fnxweb commented Jan 24, 2018

I can't see any sign of being able to programmatically open a menu, and a left-click menu isn't currently an option or browser-actions (buttons), so I won't be able “just” move the menu.

The only thing I'd be able to do is replace the popup and populate it with an HTML page representing the menu options; coming up with a usable layout will be a job in itself (the popups are limited in their size).

I'd also want to still allow access to the original popup, but from a single-item context menu (so, swapping where they bits are) – that shouldn't be too tricky as you can programmatically change what popup is in use (I'd switch popups briefly) and show it.

So. No giving up, but don't hold your breath either.

@fnxweb fnxweb modified the milestones: 2.0.3, 2.1 Jan 24, 2018
@bdcomp
Copy link
Author

bdcomp commented Jan 24, 2018

Thanks for the update.

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

No branches or pull requests

2 participants