1
0
Commit Graph

775 Commits

Author SHA1 Message Date
claustromaniac
ac7ad78d1d 3.1a1
Just added a few lines to make batch updates more visible - which helps with testing.
2017-11-30 18:22:18 +00:00
Thorin-Oakenpants
cf6f614f5b
2706: Storage API => active, disabled #281 2017-11-30 14:12:53 +13:00
claustromaniac
00e17281dc Updater 3.1a
-updatebatch now will (or at least should):
*Download new batch and name it [updater]*.bat
*Open that script in a new CMD window.
*Exit

The [updated]*.bat script should:
*Copy itself overwriting the original batch (without renaming).
*Start that script in a new CMD instance.
*Exit.

The new script, with the original name, should:
*Delete the [updated]*.bat script
*Begin the normal script routine.

@earthing do you think I should still rename the scripts to .old or something before overwriting/deleting?
2017-11-30 00:10:01 +00:00
earthlng
9a4982ec0e
updater.bat v3.0 FINAL
THE REAL FUCKING DEAL this time - finally! THANKS @claustromaniac !!
2017-11-29 23:23:57 +01:00
earthlng
0a97660506
updater.bat v3.0 FINAL
THE REAL FUCKING DEAL this time - finally! THANKS @claustromaniac !!
2017-11-29 23:20:00 +01:00
claustromaniac
3737b65f53 Fixed issue with commented-out user_pref lines
It ended up being a mixture of the previous commit and the fix. It writes a temporary file on the go that only holds preferences, and generates the target file at once at the end. It's slower than before, but it works.
2017-11-29 16:15:20 +00:00
claustromaniac
635cacfe54 Replace PING with TIMEOUT
Otherwise earthing's nosy firewall bitches about it.
2017-11-29 15:49:21 +00:00
claustromaniac
a126a32109 Revert "2nd merge optimisation"
This reverts commit c9e7f1ccfa.
2017-11-29 15:18:23 +00:00
claustromaniac
c9e7f1ccfa 2nd merge optimisation
While I figure out a fix for the missing characters...

Enclosing the whole merging loop in parentheses and replacing the source file with the entire output at once is more efficient than appending individual lines with >>%~2. The script doesn't have to wait for the HD to continue processing.
2017-11-29 12:08:15 +00:00
claustromaniac
ff9370b714 fix for hiding powershell output
Everything in a line after a powershell call is considered as being called from PowerShell.

>nul didn't work because of that. Enclosing the line in brackets should fix it.
2017-11-29 04:56:33 +00:00
claustromaniac
b1fd2ba48b minor fix
What would we want a warning that we can't get to read for?
2017-11-29 04:50:01 +00:00
claustromaniac
bdf69cd198 misc
To account for the possibility of the user running the script silently in the background. PAUSE would leave an instance in memory doing nothing indefinitely.

I was going to use TIMEOUT but PING performs better.
2017-11-29 04:33:02 +00:00
Thorin-Oakenpants
22695f464b
2303->2700s serviceWorker cache #235 2017-11-29 16:21:17 +13:00
Thorin-Oakenpants
44e129ea3d
1830: ref for DRM / EME 2017-11-29 13:32:48 +13:00
claustromaniac
6ff3d1eb36 Fix for the self-update feature and misc
Also minor but significant improvement to the merge function: it no longer writes temp files to the disk while processing data.
2017-11-28 21:53:20 +00:00
earthlng
a389572243
loops forever - fuck it 2017-11-28 18:33:31 +01:00
earthlng
51d98fac09
last attempt
if this doesn't work I'll remove the damn -updatebatch part for good
2017-11-28 18:27:55 +01:00
earthlng
d71321027b
updater.bat v3.0 the real deal
updater auto-update part - let's give this a shot - volunteers?
2017-11-28 18:17:47 +01:00
earthlng
ed4c9202b9
updater.bat v3.0 the real deal
hopefully :fingers_crossed:
2017-11-28 18:15:14 +01:00
earthlng
5b931b06e8
updater.bat auto-update part 2017-11-28 17:34:14 +01:00
earthlng
d3eda589bb
Update updater.bat 2017-11-28 17:32:32 +01:00
Thorin-Oakenpants
0be33e2408
4700: UA Spoof fix ref link 2017-11-28 13:53:15 +13:00
Thorin-Oakenpants
eba3470a81
2700: header fiddling 2017-11-28 13:32:49 +13:00
earthlng
1c997693ff
merging improvements
- keeps all user.js.parrot lines intact
- keeps empty lines intact
- fix for keeping `!` and `^` in non-"user_pref" lines intact

+ some other minor changes + streamlining
2017-11-27 14:02:12 +01:00
Thorin-Oakenpants
76b24fa6aa
2700: header formatting 2017-11-27 10:22:55 +13:00
Thorin-Oakenpants
3b95e04b56
2700: header info 2017-11-27 10:14:55 +13:00
earthlng
3ec7dae496
Update updater.bat
merge functionality and some cleanup
2017-11-26 21:47:30 +01:00
earthlng
a269e53f88
Update updater.bat
- multioverrides support
- formatting changes
2017-11-26 15:57:32 +01:00
earthlng
1789fea4f1
updater.sh - next attempt
... at fixing the script path detection. should hopefully fix #264 (comment)
2017-11-25 18:58:10 +01:00
earthlng
679ca59233
Update updater.sh 2017-11-25 18:56:49 +01:00
Thorin-Oakenpants
82d20c328d
4000: PSA on FPI #281 2017-11-26 03:23:35 +13:00
earthlng
41a55ad5f2
Update updater.sh 2017-11-25 14:37:25 +01:00
earthlng
2c1e4ae542
updater.sh - next attempt
... at fixing the script path detection. should hopefully fix https://github.com/ghacksuserjs/ghacks-user.js/issues/264#issuecomment-346891526
2017-11-25 14:31:17 +01:00
Thorin-Oakenpants
910d4e2e59
2700s: numbers fixup
stop overworking me guys! crssi - thanks!
2017-11-25 23:35:14 +13:00
Thorin-Oakenpants
2bf9e6a773
0103: fixup lets try that again 2017-11-25 22:14:28 +13:00
Thorin-Oakenpants
d279839ba6
0103: fixup - thanks Forsaked 2017-11-25 22:11:49 +13:00
Thorin-Oakenpants
98bb8ad203
Update ghacks-clear-57-[changes-only].js 2017-11-25 17:33:32 +13:00
Thorin-Oakenpants
a281090cdc
Delete test.js 2017-11-25 17:30:53 +13:00
Thorin-Oakenpants
44316934f3
release date & version fixup
You had it right the first time earthlng. Eg Start commits for 55-beta date shown is 9-July. 55-alpha release is dated 18-Aug and we drop the "-beta" part (look inside the release downloads). Start commits for 56-beta date shown is 12-Sept. 56-alpha release is dated 2-Oct and we drop the "-beta" part. And because you created the 57-alpha release before you reversed the date+version, that too is all good.
2017-11-25 16:47:12 +13:00
Thorin-Oakenpants
18048832da
various => 2700 section #235
section 2700 will get a revamp, so not worried about numbering for now. Slight header tweak until we revamp
2017-11-25 16:12:29 +13:00
Thorin-Oakenpants
497f6ed58c
0103: home page #277 2017-11-25 15:33:07 +13:00
earthlng
63b924f101
Create ghacks-clear-57-[changes-only].js
https://github.com/ghacksuserjs/ghacks-user.js/issues/276
https://github.com/ghacksuserjs/ghacks-user.js/wiki/1.6-Bulk-Pref-Resetting-%5BScratchpad%5D
2017-11-20 15:35:52 +01:00
earthlng
e1e40847e0
ooops, that's not how Pants usually does it
nobody saw that, right?
2017-11-20 14:01:57 +01:00
earthlng
5743fe303c
57 release 2017-11-20 13:55:02 +01:00
earthlng
89e0aed652
4600: redundant prefs due to RFP 2017-11-20 13:49:19 +01:00
earthlng
59ae0b1028
2706: *.storageManager.enabled;false => inactive
Controls the visibility of the "Options>Privacy & Security>Site Data" section.
I'd prefer to remove this completely because it only adds to the confusion about all the different storage types.
This is just an extension for localStorage (2705) with 3 methods: estimate(), persist() and persisted(). A site can ask for permission (?) to persist data which when granted basically just means that "Storage will not be cleared except by explicit user action" whereas otherwise when not persisted "Storage may be cleared by the UA under storage pressure." - I don't see a problem with that.
We'll keep 2706 inactive for now but might remove it in a future commit.
2017-11-20 13:11:55 +01:00
earthlng
69c278c3ba
2630: accessibility.force_disabled => 1
Prevent accessibility services from accessing your browser
2017-11-20 11:26:03 +01:00
earthlng
4290b4e882
Merge pull request #275 from claustromaniac/claustromaniac-patch-1
Just some polishing
2017-11-19 22:32:06 +01:00
claustromaniac
efcaa3de8a
Just some polishing 2017-11-19 17:41:19 +00:00
earthlng
cdeb0abe79
update to v2.0
https://github.com/ghacksuserjs/ghacks-user.js/issues/264#issuecomment-345462158

- It can now handle read-only files.
- it is somewhat more explicit regarding what it's doing in some circumstances. For example, it now informs the user when no changes are made.
- It now accepts two parameters: `-unattended` and `-log`
- Minor improvements here and there.
2017-11-19 08:58:47 +01:00