Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Suggestion from Browsing History should not include "Base URL"

  • 11 respostas
  • 2 têm este problema
  • 1 visualização
  • Última resposta por netjeff

more options

Hi all Firefoxers,

There are a few sites that I always access via a URL that could look like :

https://device.domain.com/admin/

When I went to visit that device, typing in the URL bar "device.domain..." , Firefox's 1st default suggestion shows as https://device.domain.com/

The problem is that I never visited that site, the way to access this device is https://device.domain.com/admin/ - there's no way to reconfigure the device and have an auto-redirect to .../admin location.

https://device.domain.com/ is not in my Browsing History nor do I have an open-tab. In the settings Privacy->Address Bar, disabling "Browsing History" removes https://device.domain.com/ from the suggestion list but it also removes all suggestion from the history. This is the expected behavior, the bug required fix isn't related to this.

If the "Base URL" isn't saved in the Browsing History, how can someone tell Firefox to only suggest absolute entries from the history?

Hi all Firefoxers, There are a few sites that I always access via a URL that could look like : https://device.domain.com/admin/ When I went to visit that device, typing in the URL bar "device.domain..." , Firefox's 1st default suggestion shows as https://device.domain.com/ The problem is that I never visited that site, the way to access this device is https://device.domain.com/admin/ - there's no way to reconfigure the device and have an auto-redirect to .../admin location. https://device.domain.com/ is not in my Browsing History nor do I have an open-tab. In the settings Privacy->Address Bar, disabling "Browsing History" removes https://device.domain.com/ from the suggestion list but it also removes all suggestion from the history. This is the expected behavior, the bug required fix isn't related to this. If the "Base URL" isn't saved in the Browsing History, how can someone tell Firefox to only suggest absolute entries from the history?

Modificado por somehacker a

Todas as respostas (11)

more options

[edit] this post is now irrelevant, at first I didn't notice how to edit my question.

Modificado por somehacker a

more options

Enter about:config in the address bar and set browser.urlbar.autoFill.adaptiveHistory.enabled = true, then restart the browser.

more options

Bookmark the page, then edit the bookmark and give it a Keyword so that it autofills.

more options

browser.urlbar.autoFill.adaptiveHistory.enabled=True did not help , I was too quick to press the "Helpful / Solved the problem". I guess I need a 2nd coffee today.

Bookmarking momentarily fixed the issue.

[edit] edited to reflect latest findings

Modificado por somehacker a

more options

Again I was wrong :(

Bookmarking the site at first worked ... but failed later and the 1st suggestion went back to the "base URL".

I tried with the bookmark and a combination of browser.urlbar.autoFill.adaptiveHistory.enabled=True & False, still no luck.

Modificado por somehacker a

more options

You can not do this via about:config but can only do this via a bookmark, either a normal bookmark like created on the Bookmarks Toolbar that you click or a keyword bookmark where you type the keyword in the address bar and press Enter to open the URL connected to the keyword in this tab.

more options

Type the Keyword you gave the bookmark exactly in the address bar and it will autofill. Make sure you filled the Keyword field of the bookmark and not the Tag field.

more options

Bookmarking + a Keyword works but it's not the best.

For example, if the Keyword is "kkuukk-device", the suggestion doesn't show up until there's an exact match and this requires all letters "kkuukk-device" to be typed in. That's a bit of a surprise.

But I just tried something else. I have in my Browsing history facebook.com and www.facebook.com. If I type facebook.com or www.faceb , the 1st suggestion isn't facebook.com or www.facebook.com , Firefox shows "Search" suggestion, and following those Search suggest are Firefox suggest and that has facebook. So it look like there's some logic that works differently, perhaps depending on DNS results - can't really tell with a few tests that I did.

I still think Firefox should offer an option to suggest or not the base URL. Without such an option, the faster way for the end user to pick the proper URL requires switching from keyboard to mouse, and back to keyboard. That's not efficient at all.

Perhaps developers at Mozilla aren't hardcore like me/others that runs 20+ containers for many services (DNS, home automation, VPN, etc)? I'd rather have in my suggestion the latest page that I visited from a website (ebay.com/item_number/.... instead of the root domain "ebay.com". More then often, I tend to visit the last page that I visited from a site, not the base/root URL.

more options

You can put Firefox Suggest higher by disabling "Show search suggestions ahead of browsing history in address bar results".

adaptiveHistory mentioned previously should autofill full URLs that are regularly visited.

more options

Disabling "Show search suggestions ahead of browsing history in address bar results" didn't help.

If "Browsing history" is enable, Firefox suggests the base URL " https://device.domain.com/ " even if that's not in the Browsing History, only https://device.domain.com/admin is in the history.

I did another test. Deleted all history related to this device. Then Firefox doesn't suggest the base URL but right after visiting " https://device.domain.com/admin " , Firefox starts to suggest the base URL. This test was also done with "Show search suggestions ahead of browsing history in address bar results" disable.

more options

I'm also looking for a solution to this. In fact, I opened another question before I found this one. My question at https://support.mozilla.org/en-US/questions/1439098.

I wrote this over on my question: "I went through all the browser.urlbar.suggest.* options, and even the docs at https://firefox-source-docs.mozilla.org/browser/urlbar/preferences.html. It would be nice if there was setting something like browser.urlbar.suggest.domainOnly, but looks like no such setting. Maybe someday the Devs can add this."

Update: I just discovered that hitting the tab key skips over the domain-only to the first suggestion after that. Which for me gets to 99% of what I was hoping for.

Modificado por netjeff a