MozillaZine

Autocomplete address bar list already opened tabs first?

Discussion of features in Mozilla Firefox
postcd
 
Posts: 20
Joined: April 5th, 2015, 6:24 am

Post Posted June 6th, 2016, 7:02 am

Hello,

In address bar when i type something, autocomplete feature give me nice advices. It even allow me to switch to already opened tab with the domain i want to visit. BUT the ordering is wrong in my oppinion. If i already have Tab open for that address/domain, i think it is quite my preferred choice/item, so it would be good to be located on the first spot of the autocomplete in the item list..? what do you think

This feature which allows quickly navigating to the appropriate already opened tab is nice when one have tens of opened tabs. But current item ordering makes this feature useless as it takes me usually long time until i found the already opened Tab item by scrolling in the autocomplete list?

Any idea?

paltus
 
Posts: 68
Joined: March 2nd, 2014, 1:36 am

Post Posted July 24th, 2016, 3:31 am

Style for Stylish or userChrome.css:
Code: Select all
  /*Address*/
  #PopupAutoCompleteRichResult richlistitem[type='visiturl'] {
    -moz-box-ordinal-group: 0!important;
  }
  /*Opened tabs in bookmarks*/
  #PopupAutoCompleteRichResult richlistitem[type='action bookmark'] {
    -moz-box-ordinal-group: 1!important;
  }
  /*Opened tabs*/
  #PopupAutoCompleteRichResult richlistitem[type='action favicon'] {
    -moz-box-ordinal-group: 2!important;
  }
  /*Bookmarks*/
  #PopupAutoCompleteRichResult richlistitem[type='bookmark'] {
    -moz-box-ordinal-group: 3!important;
  }
  /*History*/
  #PopupAutoCompleteRichResult richlistitem[type='favicon'] {
    -moz-box-ordinal-group: 4!important;
  }
  /*Search suggestions*/
  #PopupAutoCompleteRichResult richlistitem[type='searchengine'] {
    -moz-box-ordinal-group: 5!important;
  }

Change order as you like.
But you need also change height of Awesomebar:
Code: Select all
  #PopupAutoCompleteRichResult .autocomplete-richlistbox {
    height: auto!important;
    max-height: none!important;
  }

, because list of items may scroll to first result, which now, with changed order, may be below the visible part of the list (sorry, I do not know how to properly formulate this phrase in English).

Return to Firefox Features


Who is online

Users browsing this forum: No registered users and 1 guest