mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-10 19:03:34 +02:00
I'm actually more of a tabs guy
This commit is contained in:
parent
3090b6fdd2
commit
22a8ebefdb
1 changed files with 64 additions and 66 deletions
|
@ -27,8 +27,7 @@ fQuit() {
|
||||||
fFF_check() {
|
fFF_check() {
|
||||||
# there are many ways to see if firefox is running or not, some more reliable than others
|
# there are many ways to see if firefox is running or not, some more reliable than others
|
||||||
# this isn't elegant and might not be future-proof but should at least be compatible with any environment
|
# this isn't elegant and might not be future-proof but should at least be compatible with any environment
|
||||||
while [ -e webappsstore.sqlite-shm ]
|
while [ -e webappsstore.sqlite-shm ]; do
|
||||||
do
|
|
||||||
echo -e "\nThis Firefox profile seems to be in use. Close Firefox and try again.\n"
|
echo -e "\nThis Firefox profile seems to be in use. Close Firefox and try again.\n"
|
||||||
read -p "Press any key to continue."
|
read -p "Press any key to continue."
|
||||||
done
|
done
|
||||||
|
@ -67,8 +66,7 @@ echo -e "\nThis script should be run from your Firefox profile directory.\n"
|
||||||
echo "It will remove any entries from prefs.js that also exist in user.js."
|
echo "It will remove any entries from prefs.js that also exist in user.js."
|
||||||
echo "This will allow inactive preferences to be reset to their default values."
|
echo "This will allow inactive preferences to be reset to their default values."
|
||||||
echo -e "\nThis Firefox profile shouldn't be in use during the process.\n"
|
echo -e "\nThis Firefox profile shouldn't be in use during the process.\n"
|
||||||
select option in Start Help Exit;
|
select option in Start Help Exit; do
|
||||||
do
|
|
||||||
case $option in
|
case $option in
|
||||||
Start)
|
Start)
|
||||||
if [ ! -e user.js ]; then
|
if [ ! -e user.js ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue