Inverting Alt-Enter behavior on address bar?

Talk about add-ons and extension development.

User avatar
Posts: 50
Joined: May 16th, 2015, 9:04 am

Post Posted August 13th, 2017, 1:43 pm

I tried to find a webextension that inverts Alt-Enter from omnibox: Enter open a new tab, Alt-Enter open in current tab.

I found none, so I tried to write mine…
After reading the API, I had hope on browser.webNavigation.onBeforeNavigate

unfortunatly, this callback doesn't have webNavigation.TransitionType nor webNavigation.TransitionQualifier and moreover, Firefox does not support the needed values from these two types ... nQualifier : from_address_bar is not supported ... sitionType : " 'link' and 'auto_subframe' are partially supported as the default transition type for top-level frames and subframes respectively. 'reload' and 'form_submit' are supported. All other properties are unsupported."

](*,) ](*,) ](*,)

Is there any other way to achieve this?

Return to Extension Development

Who is online

Users browsing this forum: No registered users and 1 guest