-
-
Save omadjoudj/69ebe398754683abf2ec7e41206f8df1 to your computer and use it in GitHub Desktop.
pfox
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
#!/bin/sh | |
TEMP_USER_PROFILE="`mktemp -d /tmp/profile.pfox.tmp.XXXXXXXX`" | |
#google-chrome-stable \ | |
#--no-first-run \ | |
#--incognito \ | |
#--proxy-server="socks5://localhost:1080" \ | |
#--host-resolver-rules="MAP * 0.0.0.0" \ | |
#--user-data-dir=$TEMP_USER_PROFILE \ | |
#https://duckduckgo.com/ | |
cat << EOF > $TEMP_USER_PROFILE/prefs.js | |
user_pref("network.proxy.socks", "127.0.0.1"); | |
user_pref("network.proxy.socks_port", 1080); | |
user_pref("network.proxy.socks_remote_dns", true); | |
user_pref("network.proxy.type", 1); | |
user_pref("browser.urlbar.placeholderName", "DuckDuckGo"); | |
user_pref("app.update.lastUpdateTime.search-engine-update-timer", 0); | |
user_pref("app.update.lastUpdateTime.services-settings-poll-changes", 0); | |
user_pref("general.useragent.override", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:70.0) Gecko/20100101 Firefox/70.0"); | |
#user_pref("general.useragent.override", "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0"); | |
EOF | |
firefox -profile $TEMP_USER_PROFILE -no-remote -private | |
rm -rf $TEMP_USER_PROFILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment