Closed
Bug 772720
Opened 12 years ago
Closed 3 years ago
Support adding to native context menus from js
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: wesj, Unassigned)
Details
Attachments
(1 file)
14.18 KB,
text/plain
|
Details |
While working on the helper apps stuff, seems like it would be nice to be able to also add the "Open in <> App" option to things like awesome screen results or the urlbar context menu. Because I don't want to duplicate all that code in Java, I'd like to find a way to make the same code work in both places. For the urlbar, I think we can have a special "Native" selector. I'll attach a quick WIP that shows sorta how that would work. Since the currently location is mostly static, js could theoretically just add/remove the context menu item (and change its name to something relevant) at run time. For the awesomescreen, where the url being long tapped isn't known until the long tap happens, it will be tougher.... I wonder if we can query js and add items to the menu dynamically after its shown?
Comment 1•3 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•