Last active
July 17, 2019 18:03
-
-
Save BoQsc/6303d9c1c6bee2ed76c878db9a7a2d45 to your computer and use it in GitHub Desktop.
Kill Firefox, start Firefox In Headless mode, wait for WebExtensions to load, Kill Firefox once more. This is my method of forcing Firefox to load newly placed extensions from the firefox extensions folder.
This file contains 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
killall "firefox"; | |
firefox --headless & | |
while true; | |
do sleep 1; | |
if pgrep -x "WebExtensions"; | |
then | |
echo "Running"; | |
killall "firefox"; | |
break; | |
else | |
echo "Stopped"; | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment