tldr/pages/common/firefox.md

41 lines
1.1 KiB
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 directory to allow multiple separate instances of Firefox to run at once (not available for Windows):
`firefox --new-instance --profile {{path/to/directory}} {{https://example.com/}}`
- Create a new profile in the default directory without starting Firefox:
`firefox --CreateProfile {{profile_name}}`
- Set Firefox as default browser:
`firefox --setDefaultBrowser