custom homepage
This commit is contained in:
parent
51de7a5b43
commit
47c4aa9536
@ -1,5 +1,5 @@
|
|||||||
; SNAPCONTROL config file.
|
; SNAPCONTROL config file.
|
||||||
; https://gitea.exabyte-systems.com/WINDOWS/snapcontrol.git
|
; https://redbeard.ebslan.de/WINDOWS/snapcontrol.git
|
||||||
;
|
;
|
||||||
; This tool creates an image backups of windows machines,
|
; This tool creates an image backups of windows machines,
|
||||||
; it uses the Drive Snapshot tool by Tom Ehlert Software.
|
; it uses the Drive Snapshot tool by Tom Ehlert Software.
|
||||||
|
@ -42,6 +42,7 @@ set bluetooth_networking=0
|
|||||||
set ms_tcpip6=0
|
set ms_tcpip6=0
|
||||||
set ms_implat=0
|
set ms_implat=0
|
||||||
set ms_server=0
|
set ms_server=0
|
||||||
|
set browser_homepage=google.com
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
date /t
|
date /t
|
||||||
@ -95,6 +96,7 @@ echo bluetooth_networking=%bluetooth_networking%
|
|||||||
echo ms_tcpip6=%ms_tcpip6%
|
echo ms_tcpip6=%ms_tcpip6%
|
||||||
echo ms_implat=%ms_implat%
|
echo ms_implat=%ms_implat%
|
||||||
echo ms_server=%ms_server%
|
echo ms_server=%ms_server%
|
||||||
|
echo browser_homepage=%browser_homepage%
|
||||||
|
|
||||||
echo ++++++++++++++++++
|
echo ++++++++++++++++++
|
||||||
echo.
|
echo.
|
||||||
|
@ -30,7 +30,7 @@ defaultPref("browser.search.region", "US");
|
|||||||
lockPref("browser.search.suggest.enabled", false);
|
lockPref("browser.search.suggest.enabled", false);
|
||||||
defaultPref("browser.shell.checkDefaultBrowser", false);
|
defaultPref("browser.shell.checkDefaultBrowser", false);
|
||||||
defaultPref("browser.shell.didSkipDefaultBrowserCheckOnFirstRun", true);
|
defaultPref("browser.shell.didSkipDefaultBrowserCheckOnFirstRun", true);
|
||||||
lockPref("browser.startup.homepage", "exabyte-systems.com");
|
lockPref("browser.startup.homepage", "___HOMEPAGE___");
|
||||||
defaultPref("browser.tabs.warnOnClose", false);
|
defaultPref("browser.tabs.warnOnClose", false);
|
||||||
lockPref("browser.urlbar.suggest.bookmark", false);
|
lockPref("browser.urlbar.suggest.bookmark", false);
|
||||||
lockPref("browser.urlbar.suggest.history", false);
|
lockPref("browser.urlbar.suggest.history", false);
|
||||||
|
@ -4,6 +4,7 @@ set CONFIG=config\firefox
|
|||||||
set SCRIPTS=..\scripts
|
set SCRIPTS=..\scripts
|
||||||
set SOFTWARE=..\software
|
set SOFTWARE=..\software
|
||||||
set EXE=firefox-setup.exe
|
set EXE=firefox-setup.exe
|
||||||
|
if not defined browser_homepage set browser_homepage=google.com
|
||||||
|
|
||||||
if NOT EXIST %SOFTWARE%\%EXE% (
|
if NOT EXIST %SOFTWARE%\%EXE% (
|
||||||
echo ERROR: %SOFTWARE%\%EXE% not found!
|
echo ERROR: %SOFTWARE%\%EXE% not found!
|
||||||
@ -38,6 +39,9 @@ rem copy config ...
|
|||||||
copy /Y %CONFIG%\local-settings.js %FIREFOXBASE%\defaults\pref
|
copy /Y %CONFIG%\local-settings.js %FIREFOXBASE%\defaults\pref
|
||||||
copy /Y %CONFIG%\mozilla.cfg %FIREFOXBASE%
|
copy /Y %CONFIG%\mozilla.cfg %FIREFOXBASE%
|
||||||
|
|
||||||
|
rem set browser homepage ...
|
||||||
|
searchreplace "%ProgramFiles%\Mozilla Firefox\mozilla.cfg" ___HOMEPAGE___ %browser_homepage%
|
||||||
|
|
||||||
echo disabling FireFox updates (all users) ...
|
echo disabling FireFox updates (all users) ...
|
||||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox" ^
|
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox" ^
|
||||||
/v DisableAppUpdate ^
|
/v DisableAppUpdate ^
|
||||||
|
@ -22,4 +22,5 @@ set bluetooth_networking=0
|
|||||||
set ms_tcpip6=0
|
set ms_tcpip6=0
|
||||||
set ms_implat=0
|
set ms_implat=0
|
||||||
set ms_server=0
|
set ms_server=0
|
||||||
|
set browser_homepage=google.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user