user.js

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit bb4bf835b099777038b525e494a1ac4755e6faba
parent b4f1b4dbbfdf3d38e51dc4f5c72a79aa04fc2895
Author: earthlng <earthlng@users.noreply.github.com>
Date:   Wed, 25 Apr 2018 02:22:14 +0200

v2.1 - fix TABs in regex

for some unknown reason the tabs got replaced with spaces
Diffstat:
MprefsCleaner.bat | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/prefsCleaner.bat b/prefsCleaner.bat @@ -3,7 +3,7 @@ TITLE prefs.js cleaner REM ### prefs.js cleaner for Windows REM ## author: @claustromaniac -REM ## version: 2.0 +REM ## version: 2.1 :begin ECHO: @@ -11,7 +11,7 @@ ECHO: ECHO ######################################## ECHO #### prefs.js cleaner for Windows #### ECHO #### by claustromaniac #### -ECHO #### v2.0 #### +ECHO #### v2.1 #### ECHO ######################################## ECHO: CALL :message "This script should be run from your Firefox profile directory." @@ -65,7 +65,7 @@ IF NOT ERRORLEVEL 1 ( GOTO :EOF REM ######### Cleanup Function ########## :cleanup -FOR /F tokens^=2^ delims^=^'^" %%G IN ('FINDSTR /R /C:"^[^\"']*user_pref[ ]*\([ ]*[\"'][^\"']*[\"'][ ]*," user.js') DO ( +FOR /F tokens^=2^ delims^=^'^" %%G IN ('FINDSTR /R /C:"^[^\"']*user_pref[ ]*\([ ]*[\"'][^\"']*[\"'][ ]*," user.js') DO ( IF NOT ""=="%%G" (SET "[%%G]=1") ) (