Discussion about official Mozilla Firefox builds
That won't help, because you often get dozens of "Switch to tab" suggestions in the drop down list... The first "real" suggestions are at the bottom of the list. Which isn't making sense anyway.
BTW: AutoFill is a feature of Firefox. It isn't an extension or something. It has always been built-in. There is no "author" who could fix it... The parameter is browser.urlbar.autofill.
More info at http://kb.mozillazine.org/Inline_autocomplete
Try the Enter Selects extension. If it doesn't do what you want, at least the chances of a feature request being granted by an extension author are higher than one of your reported bugs being fixed.
♫ Runners Eternal ♫
I registered JUST to post this comment.
I HATE THIS "FEATURE".
So if the developers like it so much, they can keep it there by all means, keep it default, switched on... whatever...
But there has GOT TO BE SOME WAY to switch it off, by hook or by crook (I am working on the 'crook' angle now )
This's not worth registering.
Nor with that...
I've submitted it many times already using the "Feedback" button. I don't think they read it...
I can *almost* see the use of this feature. It is slightly frustrating that it says "Switch to tab" when there are no tabs anywhere to be seen. It is slightly more frustrating that I have to fiddle about with half a dozen keys when I actually do want a new window with the same URL. It is definitely annoying that there is a bug and it keeps asking me to "switch to tab" when I closed that window hours ago. And I just want to throw stuff when it asks me to switch to tab when the only location with that URL is right there taking up my whole monitor and not needing any switching to at all.
I guess you could call it a work in progress ....
Don't forget that it renders AutoFill useless... I'm using AutoFill since Firefox 0.8 or something... I always liked it very much, I got used to it over the years. And now it's not working anymore most of the time - because of the "Switch to tab" mayhem.
You know how frustrating it can be when something you got used to very much suddenly isn't there anymore. Just to make room for something new you don't need at all.
ps. I'm talking about "browser.urlbar.autofill", a built-in Firefox feature, not a third-party add-on or something!
Count me in, I hate this feature also.
the use case I have, is that have several "utility" pages for a webapp I'm building, and often times I need to open SEVERAL tabs to this page and the "switch to tab" gets in my way of accomplishing that. I was hoping there would be an about:config option to disable it, but no such luck..
"Optimize for the lay person, Harm the power user".. Sounds like the gnome philosophy.
Not easy to disable "switch to tab". You can hide the label easily enough in CSS, but the action would remain. It is largely implemented inside the autocomplete controller component and expressed through getStyleAt as a type attribute that is then parsed into the actiontype attribute. You could hack autocomplete.xml and stop actiontype ever getting set to switchtotab. Not pretty. I'm not even sure how you would do this in an extension. You could experiment with just brutally hacking off that attribute at a late stage since I don't think there are currently any other actiontype values that could be broken.
I had a play and it is possible to disable this feature. Currently that involves my extension overriding two xml files completely with my own hacked versions. Not pretty! It may be possible to do this with -moz-binding which would actually be usable.
For anyone that wants to have a go, the autocomplete components prepends a string "moz-action:switchtab," to the URL which is to go in the dropdown. This is then manipulated into an actiontype attribute on that element, that string is removed, the URL in the dropdown is replaced by the string "Switch to tab", and the urlbar-display element is unhidden (in CSS, based on actiontype) so you see Switch To Tab in the urlbar. Look in autocomplete.xml and urlbarBindings.xml.
It's possible to *break* bindings... it's actually pretty easy to do by accident... but there may be negative repercussions if it's not done very carefully to just remove this feature and nothing else.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
Done with -moz-binding I thought it wasn't working but there was just a trivial mistake with a CSS selector. I think this completely disables switch to tab. It is still all there in the background but shouldn't affect the visible behaviour of the urlbar. This is obviously inside an existing extension, but place the code anywhere you like.
CSS like this:
And bindings like this to replace two key methods:
Tags and keywords still seem to work, and there are no other moz-actions yet, but this is overriding a fair bit of code that obviously would prevent future changes and bug fixes reaching you. It would be nice to intercept this with a getter but the logic seems to be scattered all over. Hopefully the bugs in switch to tab will be fixed, and maybe even better ways of just opening an existing URL ( ) introduced, quickly enough that none of this matters.
Who is online
Users browsing this forum: DaveLewis and 3 guests