mirror of
https://github.com/arkenfox/user.js.git
synced 2025-04-15 05:23:20 -04:00
Update prefsCleaner.bat
This commit is contained in:
parent
4d67974120
commit
91cdaa5c6d
@ -3,11 +3,11 @@ TITLE prefs.js cleaner
|
||||
|
||||
REM ### prefs.js cleaner for Windows
|
||||
REM ## author: @claustromaniac
|
||||
REM ## version: 2.5
|
||||
REM ## version: 2.6
|
||||
|
||||
CD /D "%~dp0"
|
||||
|
||||
GOTO parse
|
||||
IF /I "%~1"=="-unattended" (SET _ua=1)
|
||||
|
||||
:begin
|
||||
ECHO:
|
||||
@ -15,7 +15,7 @@ ECHO:
|
||||
ECHO ########################################
|
||||
ECHO #### prefs.js cleaner for Windows ####
|
||||
ECHO #### by claustromaniac ####
|
||||
ECHO #### v2.5 ####
|
||||
ECHO #### v2.6 ####
|
||||
ECHO ########################################
|
||||
ECHO:
|
||||
CALL :message "This script should be run from your Firefox profile directory."
|
||||
@ -24,6 +24,7 @@ CALL :message "This will allow inactive preferences to be reset to their default
|
||||
ECHO This Firefox profile shouldn't be in use during the process.
|
||||
CALL :message ""
|
||||
TIMEOUT 1 /nobreak >nul
|
||||
|
||||
IF NOT DEFINED _ua (
|
||||
CHOICE /C SHE /N /M "Start [S] Help [H] Exit [E]"
|
||||
CLS
|
||||
@ -53,13 +54,6 @@ CALL :message %1
|
||||
TIMEOUT %~2 >nul
|
||||
EXIT
|
||||
|
||||
REM ########## Parse Function ###########
|
||||
:parse
|
||||
IF "%~1"=="" (GOTO endparse)
|
||||
IF /I "%~1"=="-unattended" (SET _ua=1)
|
||||
:endparse
|
||||
GOTO begin
|
||||
|
||||
REM ########## Message Function #########
|
||||
:message
|
||||
ECHO:
|
||||
|
Loading…
x
Reference in New Issue
Block a user