5

调教火狐地址栏

 3 years ago
source link: https://blog.lilydjwg.me/2011/9/29/tweak-urlbar-of-firefox.29779.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

调教火狐地址栏

本文来自依云's Blog,转载请注明。

火狐 7 把链接开头的http://隐藏了。有些人觉得简洁我却觉得不爽。虽然已经确定完全复制时火狐像以前一样聪明,会连同http://一起复制,但是部分复制时就不好办了,比如我前边那个知乎的链接就去掉了 query 和 hash 部分。另外,有人说改 http 为 https 时不方便。我一直在用 Redirector 插件,倒不太在意这个。

那么,作为可定制性极高的一款浏览器,在火狐中如何把这个http://加回来呢?答案比想像的要简单很多:打开 about:config 页面,查找键名browser.urlbar.trimURLs,双击使其值从true变为false即可。(改 about:config 时不需要重启的哦~)

既然写成了博文,当然不止会说这一项设置啦。Vayn 提出地址栏文本双击时会全选,而不是像其它地方一样只选中一个单词。这个也困扰着我,但把双击改成拖选并不太难,所以以前没管。这次经过一些尝试性的搜索后,发现这个也在 about:config 里可以设定。至于全选整个URL嘛,三击就是了嘛。另外也有个选项设定首次单击时全选。

另外还有几个挺有用的选项,在此一并附上:

browser.ctrlTab.previews 在Ctrl-Tab切换时预览(以前版本的为browser.allTabs.previews)。默认为false browser.urlbar.trimURLs 是否显示链接中的http://(火狐7+)。默认为true browser.urlbar.clickSelectsAll 单击地址栏时首先选中整个 URL。默认为false browser.urlbar.doubleClickSelectsAll 双击地址栏时选中整个 URL。默认为true browser.tabs.animate 新建或关闭标签页时是否使用动画。默认为true,禁用后速度可能会有较大提升 browser.tabs.insertRelatedAfterCurrent 是否在当前标签页的旁边(而不是最右边)打开标签页。默认为true

发送到 Kindle


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK