blur-my-searches/firefox_log.sh

10 lines
395 B
Bash
Raw Normal View History

#!/bin/bash
# This file runs firefox in a state where the HTTP requests will be logged to the specified file.
2020-01-05 11:42:59 +01:00
firefox -MOZ_LOG=timestamp,rotate:200,nsHttp:3,sync -MOZ_LOG_FILE=./requests/log.txt
2020-01-05 11:05:41 +01:00
cat ./requests/log.txt.* | grep GET | grep q=
2020-01-05 12:14:48 +01:00
cat ./requests/log.txt.* | grep GET | grep query=
cat ./requests/log.txt.* | grep GET | grep querry=
cat ./requests/log.txt.* | grep GET | grep search=