Makes clickjacking script look for ff dev edition
This commit is contained in:
parent
e973957094
commit
f0404cd7fc
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Name of firefox binary
|
||||
firefox="firefox-developer-edition"
|
||||
firefox="firefox"
|
||||
# If firefox developer edition is installed, use that instead
|
||||
type "firefox-developer-edition" 2>&1 >/dev/null && firefox="firefox-developer-edition"
|
||||
|
||||
# Name of firefox profile to use
|
||||
# This will need to be a profile that isn't currently open
|
||||
|
@ -50,4 +52,4 @@ h1, p{
|
|||
"
|
||||
|
||||
|
||||
firefox-developer-edition -P headless --screenshot "$output" "data:text/html;base64,$(echo "$source" | base64 -w 0)"
|
||||
$firefox -P "$profile" --screenshot "$output" "data:text/html;base64,$(echo "$source" | base64 -w 0)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue