tldr/pages/common/firefox.md

37 lines
915 B
Markdown
Raw Normal View History

2019-09-11 15:27:40 +01:00
# firefox
> A free and open source web browser.
> More information: <https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options>.
2019-09-11 15:27:40 +01:00
- Launch Firefox and open a web page:
2019-09-11 15:27:40 +01:00
`firefox {{https://www.duckduckgo.com}}`
- Open a new window:
2019-09-11 15:27:40 +01:00
`firefox --new-window {{https://www.duckduckgo.com}}`
2019-09-11 15:27:40 +01:00
- Open a private (incognito) window:
2019-09-11 15:27:40 +01:00
`firefox --private-window`
2019-09-11 15:27:40 +01:00
- Search for "wikipedia" using the default search engine:
2019-09-11 15:27:40 +01:00
`firefox --search "{{wikipedia}}"`
2019-09-11 15:27:40 +01:00
- Launch Firefox in safe mode, with all extensions disabled:
2019-09-11 15:27:40 +01:00
`firefox --safe-mode`
- Take a screenshot of a web page in headless mode:
`firefox --headless --screenshot {{path/to/output_file.png}} {{https://example.com/}}`
- Use a specific profile to allow multiple separate instances of Firefox to run at once:
`firefox --profile {{path/to/directory}} {{https://example.com/}}`
- Set Firefox as the default browser:
2019-10-10 17:41:49 +01:00
`firefox --setDefaultBrowser`