Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

How to completely disable heuristic item in unified autocomplete?

  • 4 trả lời
  • 1 gặp vấn đề này
  • 2 lượt xem
  • Trả lời mới nhất được viết bởi wareya

more options

The latest developer builds of Firefox have removed the ability to disable unified autocomplete. I used to disable unified autocomplete in order to get rid of the top element ("search on google", etc), but this is no longer possible.

The styling workaround in https://support.mozilla.org/en-US/questions/1100367 is not appropriate, because using the arrow keys to navigate down the URL bar still selects the heuristic result. I need to *completely* disable the heuristic result, so that it is 100% completely inaccessible.

None of the about:config flags under browser.urlbar in 49.0a2 (2016-06-18) are capable of disabling the heuristic result without entirely disabling autocomplete/suggestions, which is not the desired behavior. I need a functioning autocomplete dropdown that contains no heuristic result, neither visually nor in keyboard navigation.

The latest developer builds of Firefox have removed the ability to disable unified autocomplete. I used to disable unified autocomplete in order to get rid of the top element ("search on google", etc), but this is no longer possible. The styling workaround in https://support.mozilla.org/en-US/questions/1100367 is not appropriate, because using the arrow keys to navigate down the URL bar still selects the heuristic result. I need to *completely* disable the heuristic result, so that it is 100% completely inaccessible. None of the about:config flags under browser.urlbar in 49.0a2 (2016-06-18) are capable of disabling the heuristic result without entirely disabling autocomplete/suggestions, which is not the desired behavior. I need a functioning autocomplete dropdown that contains no heuristic result, neither visually nor in keyboard navigation.

Giải pháp được chọn

There was a funky three-way conflict between the specific version of aurora I was running, an addon I use, and the custom CSS. Updating aurora again fixed the problem.

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (4)

more options

See:

more options

The chosen solution in that question does not prevent the entry from being selected with the keyboard. If I type in part of a URL I have to press down twice in order to reach the first actual result.

I need to completely disable the heuristic item, not just hide it.

more options

Hmm, display:none works for me in Portable Developer Edition 49.0a2. When I press the down arrow from the URL bar, Firefox selects the first visible item, but I only tested with a couple of strings. I used this in Stylish:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* Firefox 49 "Visit..." or "Search..." bar in the drop-down */ #PopupAutoCompleteRichResult richlistitem[actiontype="searchengine"], #PopupAutoCompleteRichResult richlistitem[actiontype="visiturl"] { display:none !important; } /* Increase height to avoid scroll bar - Firefox 49 inline URL style */ #PopupAutoCompleteRichResult .autocomplete-richlistbox { height: auto !important; max-height: calc(30px * (12 - 1)) !important; }

Note: This also hides search suggestions if they are turned on.

Note: I suggest launching a new window to test style rule mods for the URL bar and Search bar because some of them seem not to have any effect in existing windows.

Edit: Corrected an error with the wiki markup in the @namespace line.

Được chỉnh sửa bởi jscher2000 - Support Volunteer vào

more options

Giải pháp được chọn

There was a funky three-way conflict between the specific version of aurora I was running, an addon I use, and the custom CSS. Updating aurora again fixed the problem.