Firefox about:config 常用设置大全

阅读:24472回复:31
2017-11-16 20:42
写私信
楼主#
地址栏输入about:config ,打开;搜索------

书签在新标签页中打开
browser.tabs.loadBookmarksInTabs,默认为 false,双击改为true 即可在新建标签页打开。

搜索栏搜索在新标签页打开
browser.search.openintab  双击改为true

关闭最后一个标签页后不关闭窗口
browser.tabs.closeWindowWithLastTab  双击改为false

地址栏在新标签页打开 (火狐60后)

browser.urlbar.openintab    双击改为true

中键打开书签不关闭书签菜单
browser.bookmarks.openInTabClosesMenu    双击改为true

加快启动速度(火狐60后)
browser.startup.blankWindow   双击改为true

双击左键关闭当前标签页 (火狐61后)
browser.tabs.closeTabByDblclick  双击改为true

禁用自带同步功能
identity.fxaccounts.enabled    双击改为false

查找自動高亮
findbar.modalHighlight   双击改为true
findbar.highlightAll         双击改为true

自定义标签页宽度(默认 76)
browser.tabs.tabMinWidth

扩展按钮右键菜单显示数量
browser.sessionstore.max_tabs_undo

在Mozilla网站上启用Firefox WebExtensions
搜索privacy.resistFingerprinting.block_mozAddonManager
没有就新建布尔值privacy.resistFingerprinting.block_mozAddonManager,将其值设置为true
值为true表示WebExtensions在Mozilla的网站上正常工作。

您可以随时通过在浏览器的about:config页面上将首选项设置为false来撤消更改。
60以上失效,解決方法搜索extensions.webextensions.restrictedDomains,双击把值中的addons.mozilla.org刪掉 ,也可以全部清空。
60原来的值:
accounts-static.cdn.mozilla.net,accounts.firefox.com,addons.cdn.mozilla.net,addons.mozilla.org,api.accounts.firefox.com,content.cdn.mozilla.net,content.cdn.mozilla.net,discovery.addons.mozilla.org,input.mozilla.org,install.mozilla.org,oauth.accounts.firefox.com,profile.accounts.firefox.com,support.mozilla.org,sync.services.mozilla.com,testpilot.firefox.com
修改后的值:
accounts-static.cdn.mozilla.net,accounts.firefox.com,addons.cdn.mozilla.net,api.accounts.firefox.com,content.cdn.mozilla.net,content.cdn.mozilla.net,discovery.addons.mozilla.org,input.mozilla.org,install.mozilla.org,oauth.accounts.firefox.com,profile.accounts.firefox.com,support.mozilla.org,sync.services.mozilla.com,testpilot.firefox.com

如果想继续使用旧式扩展(只能56升级上来的旧式扩展)
extensions.legacy.enabled   改成 true 来重新使用

xpinstall.signatures.required  双击改为false 安装未签名扩展

security.dialog_enable_delay  将其值设置为0  扩展安装等待时间 (默认1000)

dom.event.contextmenu.enabled  双击改为false 破解右键限制

禁用pocket
搜索“pocket”
extensions.pocket.enabled    双击改为false

破解右键限制
dom.event.contextmenu.enabled  双击改为false

Firefox 限制了对同一服务器的最大同时连接数,如果用户要超过 6 个线程下载,需先到 about:config 里面将 network.http.max-persistent-connections-per-server 和 network.http.max-persistent-connections-per-proxy 调大,否则无法获得速度提升。
network.http.max-persistent-connections-per-server 是连接同一个服务器允许的最大持久连接数,默认为6
network.http.max-persistent-connections-per-proxy 每个代理服务器允许的最大持久连接数
Firefox的Wiki推荐的network.http.max-persistent-connections-per-server设置为:<=10

给Firefox设置远程DNS解析,破解DNS劫持与污染
搜索network.proxy.socks_remote_dns    双击改为 true

59后的隐私浏览模式下会剥离 Referer 里面的网站路径信息
(浏览器会剥离 URL 中后面的信息,只将 https://www.xxxxxx/ 通过 Referer 发送给网站)
network.http.referer.userControlPolicy ,设置为 2 即为开启

新标签页面调整热门网站磁贴的数量
只需在 about:config 里面将 browser.newtabpage.activity-stream.topSitesCount 的值设置为想要的数量即可。

火狐浏览器自带字体渲染
在about:config中搜索cleartype,找到以下项目

gfx.font_rendering.cleartype_params.gamma
gamma 值 1000 到 2200

gfx.font_rendering.cleartype_params.enhanced_contrast
字体对比度(这里我设的是200,根据个人喜好设定,没发现最大值是多少)

gfx.font_rendering.cleartype_params.cleartype_level
cleartype等级 0 到 100

gfx.font_rendering.cleartype_params.pixel_structure
0 = flat, 1 = RGB, 2 = BGR
液晶就用RGB,选择1

gfx.font_rendering.cleartype_params.rendering_mode
0 = default, 1 = aliased, 2 = GDI Classic, 3 = GDI Natural,
4 = Natural, 5 = Natural Symmetric(带次像素渲染)  
选择5立刻就有mactype的效果了
2017-11-16 21:22
写私信
1楼#
不错,不过有些功能以后可能会失效
2017-11-16 22:26
写私信
2楼#
在mozilla网站启用webextension这条很有用,楼主知不知道怎么在firefox内置页面比如about:newtab这类的也启用webextension?
2017-11-16 23:18
写私信
3楼#
alanfly:在mozilla网站启用webextension这条很有用,楼主知不知道怎么在firefox内置页面比如about:newtab这类的也启用webextension?回到原帖
暂时无解。
2017-11-17 09:15
写私信
4楼#
alanfly:在mozilla网站启用webextension这条很有用,楼主知不知道怎么在firefox内置页面比如about:newtab这类的也启用webextension?回到原帖
这个还不支持。而且是隐藏黑科技。也不知道以后会不会支持
Firefox More than meets your experience
2017-11-17 13:13
写私信
5楼#
xpinstall.signatures.required  双击改为false 安装未签名扩展
这个正式版本没用吧,需要无品牌版本和每夜版才行。
57的无品牌版本现在好像还没见有下载。
我的...
2017-11-18 02:35
写私信
6楼#
可以把 https://github.com/Aris-t2/CustomCSSforFx 里的整合进来
Aris是ClassicThemeRestorer的作者,上面链接是他的仓库,里面有很多可以写到userChrome.css的界面修改规则(也是非扩展的)
2017-11-18 09:37
写私信
7楼#
非常感谢,uc又复活了
2017-11-18 19:31
写私信
8楼#
ff57参数
闲看庭前花开花落,漫随天外云卷云舒
xx
2017-11-26 06:44
写私信
9楼#
https://github.com/nuchi/firefox-quantum-userchromejs
這另一個方法我調不出來UC。反而是LZ的有效
lu
2017-11-26 09:59
写私信
11楼#
https://github.com/nuchi/firefox-quantum-userchromejs
这个只需要把userChrome.*三个文件放在火狐配置目录的chrome文件夹下就可以了
lu
2017-11-26 10:00
写私信
12楼#
xx:https://github.com/nuchi/firefox-quantum-userchromejs
這另一個方法我調不出來UC。反而是LZ的有效
回到原帖
要在userChrome.js里面加一句
userChrome.import("*", "UChrm");
就可以了
2017-11-29 16:31
写私信
13楼#
uc复活了,现在就缺一个管理uc脚本的附加组件了
2017-11-29 18:09
写私信
14楼#
superzz:不错,不过有些功能以后可能会失效回到原帖
啥时候失效。我现在每夜版很正常。重要的是所有内页都生效哦