Created
May 20, 2025 13:55
-
-
Save ziadoz/bde5492b2b04883f62fb76f425b63dd4 to your computer and use it in GitHub Desktop.
Isolate Firefox Profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
PROFILEDIR="$(mktemp -d)" | |
firefox --no-remote --profile "$PROFILEDIR" --screenshot $PWD/output.png https://xkcd.com | |
rm -r "$PROFILEDIR" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment