anchor.diff:  GOTO :EOF
   REM ######### Cleanup Function ##########
   :cleanup
  -SETLOCAL DisableDelayedExpansion
   (
  +	FOR /F tokens^=2^ delims^=^'^" %%G IN ('FINDSTR /R /C:"^[^'\"]*user_pref[^;]*\)[ 	]*;" "user.js"') DO (SET "[%%G]=1")
   	FOR /F "tokens=1,* delims=:" %%G IN ('FINDSTR /N "^" prefs.js') DO (
  -		SET "_line=%%H"
  -		SETLOCAL EnableDelayedExpansion
  -		IF /I "user_pref"=="!_line:~0,9!" (
  -			FOR /F tokens^=2^ delims^=^" %%I IN ("!_line:.=\.!") DO (
  -				FINDSTR /R /C:"user_pref[ 	]*\([ 	]*[\"']%%I[\"'][ 	]*," user.js >nul
  -				IF ERRORLEVEL 1 (ECHO:!_line!)
  +		FOR /F tokens^=2^ delims^=^" %%I IN ("%%H") DO (
  +			IF NOT DEFINED [%%I] (
  +				ECHO:%%H
   			)
  -		) ELSE (
  -			ECHO:!_line!
   		)
  -		ENDLOCAL
   	)
   )>tempcleanedprefs
  -ENDLOCAL
   MOVE /Y tempcleanedprefs prefs.js
   GOTO :EOF
   REM ############### Help ##################
  
positive.code: EXIT
  REM ########## Message Function #########
  :message
  SETLOCAL DisableDelayedExpansion
  ECHO:
  ECHO:  %~1
  ECHO:
  ENDLOCAL
  GOTO :EOF
  REM ####### Firefox Check Function ######
  :FFcheck
  
negative.code: @ECHO OFF & SETLOCAL DisableDelayedExpansion
  TITLE prefs.js cleaner
  
  REM ### prefs.js cleaner for Windows
  REM ## author: @claustromaniac
  REM ## version: 2.0
  
  :begin
  ECHO:
  ECHO:
  ECHO                 ########################################
  ECHO                 ####  prefs.js cleaner for Windows  ####
  ECHO                 ####        by claustromaniac       ####
  ECHO                 ####              v2.0              ####
  ECHO                 ########################################
  ECHO:
  CALL :message "This script should be run from your Firefox profile directory."
  