在新的更新 48.0 中,Firefox 再次将域显示为第一个结果,但这次更改browser.urlbar.unifiedcomplete
无济于事。那我再问一次:
是否可以删除新的域建议,例如“访问 ebay.co.uk”?示例截图:
跟进:
我找到了这个链接到 Bugzilla 报告的reddit 线程,并且没有禁用它的选项。
我们花时间致力于改进 awesomebar,我们认为我们做到了。你不喜欢我们所做的,那很好,我们接受你的意见,但我们不会因为这个就扔掉所有的工作。
有关的:
Since the browser.urlbar.unifiedcomplete
preference is gone, I tried playing around with the other preferences but couldn't get rid of the annoying "Visit ..." suggestion.
Here are the workarounds I've found:
This is what I am using and it works fine for me.
If you want to list 10 entries, change 'browser.urlbar.maxRichResults' in about:config to 11 and then use the following lines in userChrome.css:
#PopupAutoCompleteRichResult richlistitem:first-of-type[actiontype="searchengine"],
#PopupAutoCompleteRichResult richlistitem[actiontype="visiturl"] { visibility:collapse !important; }
#PopupAutoCompleteRichResult .autocomplete-richlistbox {
height: auto !important;
max-height: calc(31px * 10) !important;
}
Run Code Online (Sandbox Code Playgroud)
If you don't already have a userChrome.css file, you'll also need to add the following lines at the top of the file:
/* Do not remove the @namespace line -- it's required for correct functioning */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
Run Code Online (Sandbox Code Playgroud)
Source: http://www.ghacks.net/2016/08/01/firefox-48-release/#comment-3950665
Result:
You can also achieve this using Stylish.
Install Stylish
Install the URL Bar Tweaks - Remove Visit/Search & Scroll bar style
Source: http://www.ghacks.net/2015/12/21/how-to-remove-visit-in-firefoxs-address-bar/
归档时间: |
|
查看次数: |
495 次 |
最近记录: |