1
0
Commit Graph

24 Commits

Author SHA1 Message Date
earthlng
11977e7017
v2.4 - add strlen check for prefs.js
cmd.exe has a command line length limit of 8192 characters. Abort if prefs.js contains strings that would get dropped while recreating the new prefs.js.
2021-01-17 15:27:50 +00:00
Thorin-Oakenpants
515d6ff874
v2.3: update repo name 2020-09-15 06:11:35 +00:00
claustromaniac
f39112f914 P*tches for B*tches (#483)
* replace /V with global VERIFY ON

* change working dir to script dir
The working dir doesn't necessarily match the script's path, depending on how the script is called. All relative paths and conditional statements using EXIST will fail whenever the working dir is not the script's own location. This fixes that.

* minimal stuff, mostly cosmetic

* prompt to run prefsCleaner under very specific circumstances

* improve -updatebatch option

* add version variable + display new script version on update
2018-08-12 11:56:47 +00:00
earthlng
9c975b318a
store file with CRLF
I think there's no way to get rid of ^M but hopefully with `*.bat -text` in `.gitattributes` it shouldn't be a problem because git won't do any line conversion on check-in/out.
This way the raw link as well as the file within the zip download should be in proper MSDOS CRLF format, and git status shouldn't report the file as modified either. ***fingerscrossed!!***
2018-08-06 23:27:41 +00:00
Денис
3806ccc68c Introduce end-of-line normalization (#471)
fix for #469
2018-08-06 22:06:30 +00:00
earthlng
b390d9787b
Add files via upload 2018-08-06 19:27:07 +00:00
earthlng
2e908f38d2
Update prefsCleaner.bat 2018-08-06 19:25:25 +00:00
earthlng
bb4bf835b0
v2.1 - fix TABs in regex
for some unknown reason the tabs got replaced with spaces
2018-04-25 02:22:14 +02:00
claustromaniac
fdac8fba6a
Update prefsCleaner.bat 2018-04-22 01:34:48 +00:00
claustromaniac
8fa3a9db6b
fix for missing empty lines 2018-04-21 14:34:08 +00:00
claustromaniac
b0fb59f735
shit is so fast I can't even read 2018-04-18 22:42:06 +00:00
claustromaniac
824dec4f9e
Update prefsCleaner.bat 2018-04-18 20:29:39 +00:00
claustromaniac
3d2b0703be
actually working v2 2018-04-18 18:49:36 +00:00
claustromaniac
e25137ce94
v2
Mostly a bump in performance.
2018-04-18 16:18:43 +00:00
claustromaniac
c1c368bce9
1.2
- Search string made case-sensitive, because Firefox preferences are.
- The script now uses regex, which allows it to understand user.js files formatted using single quotes, spaces, or tabs.

Trade-off: it can no longer reset preferences that include some special characters in their names. Not an issue for now, just something to remember.
2017-12-29 20:14:08 +00:00
earthlng
c0f9e6ab2b
Update prefsCleaner.bat 2017-12-27 04:59:24 +01:00
claustromaniac
7cd2c650cb
fix for previous commit
Take it or leave it. Up to you, as always.
2017-12-27 03:32:58 +00:00
claustromaniac
a1f10513ea
1.2 2017-12-26 20:06:41 +00:00
claustromaniac
74f18db85a
1.1 2017-12-26 20:04:57 +00:00
earthlng
4170529e39
Add files via upload 2017-12-19 17:31:49 +01:00
earthlng
ffae671b27
Delete prefsCleaner.bat 2017-12-19 17:29:36 +01:00
earthlng
48861e57e1
Add files via upload 2017-12-19 17:26:58 +01:00
earthlng
b74b79f11c
Delete prefsCleaner.bat 2017-12-19 17:26:39 +01:00
earthlng
fbd9f344af
prefs.js cleaner for Windows v1.0
thanks @claustromaniac!
2017-12-15 21:11:53 +01:00