News for hackers. Stuff that matters.
Re:How to Firefox by yjftsjthsd-h on Tuesday July 22, 2025 @09:22AM (#44646566)

  PROFILEDIR="$(mktemp -d)"
  firefox --no-remote  --profile "$PROFILEDIR" --screenshot $PWD/output.png https://xkcd.com
  rm -r "$PROFILEDIR"
(You don't have to create and destroy a profile directory every time, but it's cleaner to do that way and you need one per instance you're going to run anyways)

There are no comments on this comment yet.