Files
tldr/pages.zh/common/firefox.md
2023-12-22 17:45:32 +05:30

37 lines
902 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# firefox
> 一个自由、开源的网络浏览器。
> 更多信息:<https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options>.
- 启动 Firefox 并打开网页:
`firefox {{https://www.duckduckgo.com}}`
- 打开新窗口:
`firefox --new-window {{https://www.duckduckgo.com}}`
- 打开隐私(隐身)窗口:
`firefox --private-window`
- 使用默认搜索引擎搜索“wikipedia”
`firefox --search "{{wikipedia}}"`
- 在安全模式中启动 Firefox, 所有扩展会被禁用:
`firefox --safe-mode`
- 在无头模式中截取网页截屏:
`firefox --headless --screenshot {{路径/到/输出文件.png}} {{https://example.com/}}`
- 使用特定的配置文件允许多个单独的 Firefox 实例同时运行:
`firefox --profile {{路径/到/文件夹}} {{https://example.com/}}`
- 设置 Firefox 为默认浏览器:
`firefox --setDefaultBrowser`