drop ded user.js junks

This commit is contained in:
qvqc 2021-03-20 10:36:33 -04:00
parent 7cb4822831
commit ab74a178a2
No known key found for this signature in database
GPG Key ID: 9EB04103C6BE892D
4 changed files with 0 additions and 1211 deletions

View File

@ -1,10 +0,0 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Script
Type=Application
Exec=/home/anon/.local/bin/hardFox.sh
Terminal=false
StartupNotify=false
Hidden=false

View File

@ -1,10 +0,0 @@
#!/bin/bash
cd ~/.mozilla/firefox/
if [[ $(grep '\[Profile[^0]\]' profiles.ini) ]]
then PROFPATH=$(grep -E '^\[Profile|^Path|^Default' profiles.ini | grep -1 '^Default=1' | grep '^Path' | cut -c6-)
else PROFPATH=$(grep 'Path=' profiles.ini | sed 's/^Path=//')
fi
echo $PROFPATH

View File

@ -1,24 +0,0 @@
#!/bin/bash
rm -r ~/.mozilla/
notify-send 'Securing Firefox' 'One momment while we harden User.js' --icon=applications-internet -t 11000
timeout 10 firefox --headless --offline
#get new firefox profile
profilePath=$(/home/anon/.local/bin/findFirefoxProfile.sh)
## Get current User.js file from pyllyukko/user.js !!FIXTHIS, SHIP LOCAL FORK!!
##wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 0 https://raw.githubusercontent.com/pyllyukko/user.js/master/user.js -O /tmp/user.js
## Disable JavaScript
echo user_pref\(\"javascript.enabled\", false\)\; >> ~/.local/share/user.js
## Set Homepage
echo user_pref\(\"browser.startup.homepage\", \"https://check.torproject.org\|https://browserleaks.com\"\)\; >> ~/.local/share/user.js
## Enable Onions
sed -i '/Onion/ s/true/false/' ~/.local/share/user.js
## Copy modified user.js to firefox profile directory
mv ~/.local/share/user.js ~/.mozilla/firefox/$profilePath/user.js
notify-send 'Firefox is ready!' 'Enjoy your javascript free experience.' --icon=face-cool -t 6000

File diff suppressed because it is too large Load Diff