piroor / newtabfromlocationbar

Opens new tabs from the location bar, by conditions.
http://piro.sakura.ne.jp/xul/newtabfromlocationbar/
9 stars 2 forks source link

Request: "ALT" to invert new tab behavior #1

Closed kirk444 closed 12 years ago

kirk444 commented 13 years ago

In traditional FireFox, pressing "ALT" will open the URL bar in a new tab. After installing "newtabfromlocationbar", new tabs are opened by default from the URL bar (the desired behavior), but using ALT has no effect on the tab opening.

Would it be possible to add a behavior (optional, or otherwise) to allow "ALT" to open the URL bar into the current tab, basically inverting the default behavior?

piroor commented 13 years ago

There is a secret preference "extensions.newtabfromlocationbar@piro.sakura.ne.jp.invertDefaultBehavior". Go to "about:config" and turn it on. Because I got many "bug reports" like "URLs are not opened in new tab when I press ALT key", I disable the feature by default.

kirk444 commented 13 years ago

Thanks, just what I was looking for!

On Tue, May 10, 2011 at 11:55 AM, piroor < reply@reply.github.com>wrote:

There is a secret preference "extensions.newtabfromlocationbar@piro.sakura.ne.jp.invertDefaultBehavior". Go to "about:config" and turn it on. Because I got many "bug reports" like "URLs are not opened in new tab when I press ALT key", I disable the feature by default.

Reply to this email directly or view it on GitHub: https://github.com/piroor/newtabfromlocationbar/issues/1#comment_1132093