Firefox参数调整

系统信息

firefox 142.0.1 (64-bit)

librewolf 143.0-1 (64-bit)

性能增强

地址栏输入指令进入配置页面

1
about:config
Setting Name Default Value (LibreWolf) Recommended Value (High-Resource) Explanation Potential Impact
gfx.webrender.all Varies (often false for privacy) true Forces GPU rendering for faster compositing +Rendering speed, higher GPU use
dom.ipc.processCount 4-8 16 Increases parallel page processing +Parsing efficiency, +RAM
webgl.disabled true false Enables GPU graphics acceleration +Interactive rendering
privacy.resistFingerprinting true false Removes spoofing overhead +Compatibility/speed, -Privacy
media.hardware-video-decoding.force-enabled false true Offloads video to hardware +Media parsing, lower CPU
network.dnsCacheEntries 800 10000-20000 Larger DNS cache Quicker resolutions
layers.acceleration.force-enabled false true GPU layer accel Smoother animations
dom.ipc.processCount.webIsolated 4 16
network.http.max-persistent-connections-per-server 6 16
gfx.webrender.precache-shaders false true
network.prefetch-next true true

给Firefox添加hevc支持

https://hevc-video-extensions-from-device-manufacturer.en.uptodown.com/windows/download

You can test out here some videos for hevc, and some other unknown ones.

https://lf-tk-sg.ibytedtos.com/obj/tcs-client-sg/resources/video_demo_hevc.html

This also can tell if your browser supports it or not.

https://ott.dolby.com/codec_test/index.html

打开 powershell 进入appxbundle文件下载目录 执行指令安装 安装后重启电脑

1
Add-Appxpackage extensiones-de-video-hevc-del-fabricante-del-dispositivo-2-4-13-0.appxbundle

彻底移除全屏渐变动画

这是最直接的方法,可以让您在进入/退出全屏时几乎瞬间完成,获得类似 Chrome 的清爽体验。

  1. 在 Firefox 地址栏中输入 about:config 并按 Enter 键。

  2. 您会看到一个警告页面,点击或接受风险后进入配置页面。

  3. 在搜索框中输入或粘贴以下第一项设置:

    • full-screen-api.transition-duration.enter
  4. 找到该条目后,双击它(或点击右侧的铅笔图标进行编辑)。

  5. 将值修改为 0 0 (零空格零)。然后点击对勾图标保存。

    • 默认值通常是 200 200,代表 200 毫秒的过渡时间。
  6. 重复以上步骤,搜索并修改第二项设置:

    • full-screen-api.transition-duration.leave
  7. 将它的值也修改为 0 0 并保存。

完成上述步骤后,对网页或视频进行全屏操作时,渐变动画就会消失了。

References

Licensed under CC BY-NC-SA 4.0