fnxweb / urllink

URL Link Firefox and Thunderbird add-on
https://addons.mozilla.org/en-GB/firefox/addon/url-link/
8 stars 0 forks source link

Open in new Tab option in main context menu #5

Closed McFergusson closed 6 years ago

McFergusson commented 6 years ago

In the old version of URLLink there was the possibility to have the "Open in new Tab" and "Open in new Window" options show up directly in the right click submenu. Now i have to follow this path: "Right Click" -> "URL Link" -> "Open selection in new Tab" -> "(e.g.) In Google" instead of the much more comfortable "Right Click" -> "Open selection in new Tab" -> "(e.g.) In Google". I can't find any solution to recreate that behaviour. Is it possible to bring that behaviour back?

fnxweb commented 6 years ago

Unfortunately not: it is a โ€œfeatureโ€ of Firefox 57+'s WebExtensions that all add-ons that add to the context menu have their items put into a sub menu under the add-on's name ๐Ÿ˜•

McFergusson commented 6 years ago

I understand. But maybe you could add the option to have the contents of the "Open selection in new Tab" submenu show up directly in the "URL Link" submenu. So the mouse path would look like "Right Click" -> "URL Link" -> "(e.g.) In Google" (and you have to adjust in the settings whether it should be opened in a new tab, in the same tab or in a new window). I would simply love to avoid to use an additional submenu, which, at least for me, makes using URL Link a bit more tedious since Quantum.

fnxweb commented 6 years ago

Yeah, that's do-able. Won't be immediate, though :)

fnxweb commented 6 years ago

Just to re-iterate: โ€œtoughโ€ was a typo in the last comment (now fixed)!

Eagle3386 commented 6 years ago

Please, Neil, I'm desperately & eagerly waiting for this "one sub-menu less" thing!

fnxweb commented 6 years ago

I'll see what I can do.

fnxweb commented 6 years ago

Don't hold your breath, Mozilla have changed their extension linter so I've a lot of things to clean up before I can put up a new release.

Eagle3386 commented 6 years ago

Of course not - published my first extension (simple Google image search with better privacy, some tweaks and suggestions) a couple of weeks ago. Felt pretty tedious, actually..

But I've looked at the code already - thanks a lot, looking forward to get the update officially. But maybe I'll feed my Firefox Nightly earlier.. ๐Ÿ˜Ž

McFergusson commented 6 years ago

Thanks a lot, Neil!