mirror of
https://github.com/arkenfox/user.js.git
synced 2025-11-22 08:25:17 +01:00
Compare commits
36 Commits
58.0
...
v59.0-alph
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
457611f079 | ||
|
|
09aca71822 | ||
|
|
f90193ab76 | ||
|
|
ffced9b4c0 | ||
|
|
0b3395b520 | ||
|
|
d4a20165ef | ||
|
|
089f0826cf | ||
|
|
b83d53e681 | ||
|
|
14456b5a29 | ||
|
|
517e40703f | ||
|
|
7f7282a975 | ||
|
|
6fd415eab2 | ||
|
|
d4083e6a3e | ||
|
|
3192027f52 | ||
|
|
2a402310cc | ||
|
|
1469e13df8 | ||
|
|
92585ecd93 | ||
|
|
205d64ab29 | ||
|
|
3812aed9e9 | ||
|
|
a83f5a0f5f | ||
|
|
19c40eeb18 | ||
|
|
61d2b46a02 | ||
|
|
b93c7e026c | ||
|
|
ec687cad75 | ||
|
|
6b691ae7e3 | ||
|
|
40da3653d3 | ||
|
|
77a5894fa0 | ||
|
|
11bcf46063 | ||
|
|
2dd2f5febe | ||
|
|
2de13258ff | ||
|
|
40391a26a2 | ||
|
|
50186412e4 | ||
|
|
9892c3cbb7 | ||
|
|
887e93a4f2 | ||
|
|
7f1a82365c | ||
|
|
8996071cd0 |
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
/*** ghacks-user.js troubleshooter.js v1.4 ***/
|
/*** ghacks-user.js troubleshooter.js v1.5 ***/
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
|
||||||
@@ -116,14 +116,6 @@
|
|||||||
/* Audio + Video */
|
/* Audio + Video */
|
||||||
'dom.webaudio.enabled',
|
'dom.webaudio.enabled',
|
||||||
'media.autoplay.enabled',
|
'media.autoplay.enabled',
|
||||||
'media.flac.enabled',
|
|
||||||
'media.mp4.enabled',
|
|
||||||
'media.ogg.enabled',
|
|
||||||
'media.opus.enabled',
|
|
||||||
'media.raw.enabled',
|
|
||||||
'media.wave.enabled',
|
|
||||||
'media.webm.enabled',
|
|
||||||
'media.wmf.enabled',
|
|
||||||
|
|
||||||
/* Forms */
|
/* Forms */
|
||||||
'browser.formfill.enable',
|
'browser.formfill.enable',
|
||||||
@@ -166,14 +158,6 @@
|
|||||||
'privacy.trackingprotection.enabled',
|
'privacy.trackingprotection.enabled',
|
||||||
'security.data_uri.block_toplevel_data_uri_navigations',
|
'security.data_uri.block_toplevel_data_uri_navigations',
|
||||||
|
|
||||||
/* FF User-Interface */
|
|
||||||
'browser.search.suggest.enabled',
|
|
||||||
'browser.urlbar.autoFill',
|
|
||||||
'browser.urlbar.autoFill.typed',
|
|
||||||
'browser.urlbar.oneOffSearches',
|
|
||||||
'browser.urlbar.suggest.searches',
|
|
||||||
'keyword.enabled',
|
|
||||||
|
|
||||||
'last.one.without.comma'
|
'last.one.without.comma'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ IF DEFINED _updateb (
|
|||||||
DEL /F "[updated]!_myname!.bat.old"
|
DEL /F "[updated]!_myname!.bat.old"
|
||||||
CALL :message "Script updated^!"
|
CALL :message "Script updated^!"
|
||||||
TIMEOUT 3 >nul
|
TIMEOUT 3 >nul
|
||||||
CLS
|
|
||||||
GOTO begin
|
GOTO begin
|
||||||
)
|
)
|
||||||
REM ## Phase 1 ##
|
REM ## Phase 1 ##
|
||||||
@@ -46,11 +45,9 @@ IF DEFINED _updateb (
|
|||||||
) >nul 2>&1
|
) >nul 2>&1
|
||||||
IF EXIST "[updated]!_myname!.bat" (
|
IF EXIST "[updated]!_myname!.bat" (
|
||||||
START /min CMD /C "[updated]!_myname!.bat" !_myparams!
|
START /min CMD /C "[updated]!_myname!.bat" !_myparams!
|
||||||
EXIT /B
|
|
||||||
) ELSE (
|
) ELSE (
|
||||||
CALL :message "Failed. Make sure PowerShell is allowed internet access."
|
CALL :message "Failed. Make sure PowerShell is allowed internet access."
|
||||||
TIMEOUT 120 >nul
|
TIMEOUT 120 >nul
|
||||||
EXIT /B
|
|
||||||
)
|
)
|
||||||
) ELSE (
|
) ELSE (
|
||||||
IF "!_myname!"=="[updated]" (
|
IF "!_myname!"=="[updated]" (
|
||||||
@@ -68,10 +65,11 @@ IF DEFINED _updateb (
|
|||||||
COPY /B /V /Y "!_myname!.bat" "!_myname:~9!.bat"
|
COPY /B /V /Y "!_myname!.bat" "!_myname:~9!.bat"
|
||||||
START CMD /C "!_myname:~9!.bat" !_myparams!
|
START CMD /C "!_myname:~9!.bat" !_myparams!
|
||||||
)
|
)
|
||||||
EXIT /B
|
|
||||||
)
|
)
|
||||||
|
EXIT /B
|
||||||
)
|
)
|
||||||
:begin
|
:begin
|
||||||
|
CLS
|
||||||
ECHO:
|
ECHO:
|
||||||
ECHO:
|
ECHO:
|
||||||
ECHO: ########################################
|
ECHO: ########################################
|
||||||
@@ -118,7 +116,7 @@ IF DEFINED _log (
|
|||||||
:log
|
:log
|
||||||
SET _log=2
|
SET _log=2
|
||||||
ECHO:##################################################################
|
ECHO:##################################################################
|
||||||
CALL :message "%date%, %time%"
|
ECHO: %date%, %time%
|
||||||
)
|
)
|
||||||
IF EXIST user.js.new (DEL /F "user.js.new")
|
IF EXIST user.js.new (DEL /F "user.js.new")
|
||||||
CALL :message "Retrieving latest user.js file from github repository..."
|
CALL :message "Retrieving latest user.js file from github repository..."
|
||||||
@@ -254,7 +252,6 @@ CALL :message " -updatebatch"
|
|||||||
ECHO: Update the script itself on execution, before the normal routine.
|
ECHO: Update the script itself on execution, before the normal routine.
|
||||||
CALL :message ""
|
CALL :message ""
|
||||||
PAUSE
|
PAUSE
|
||||||
CLS
|
|
||||||
MODE 80,25
|
MODE 80,25
|
||||||
GOTO :begin
|
GOTO :begin
|
||||||
REM #####################################
|
REM #####################################
|
||||||
|
|||||||
Reference in New Issue
Block a user