1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/common/firefox.md
2025-03-31 02:24:56 +02:00

884 B

firefox

一个自由、开源的网络浏览器。 更多信息:https://wiki.mozilla.org/Firefox/CommandLineOptions.

  • 启动 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