Inverting Alt-Enter behavior on address bar?

Talk about add-ons and extension development.
Post Reply
User avatar
geobomatic
Posts: 68
Joined: May 16th, 2015, 9:04 am

Inverting Alt-Enter behavior on address bar?

Post by geobomatic »

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
https://developer.mozilla.org/en-US/Add ... nQualifier : from_address_bar is not supported
https://developer.mozilla.org/en-US/Add ... 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?
Post Reply