Safari for Windows: Command line arguments

June 12th, 2007 by Joe Ranieri

This post is being restored from our old blog. It has been modified slightly from its original form. Comments have been lost.

/frameworkPath:
The directory with all of the DLLs (CFNetwork.dll, etc). The webkit nightly launcher uses this flag so it can just pass the new WebKit.dll to the existing Safari 3 install.

/showIcons
/hideIcons

Disables/enables site favicons.

/debug
Haven’t seen any changes yet with this enabled. One difference is that it’ll try to load “Webkit_debug.dll” instead of “WebKit.dll”.

/reinstall
I would assume it re-associates file extensions and re-registers DLLs.

/console
Opens up a console window when launching Safari. I haven’t seen anything be output to this window yet.

/enableDebugMenu
/disableDebugMenu

Enable and disable the debug menu. On my Windows Vista machine this disables the menubar completely… oops.

/printLaunchTime
Shows the time it took to launch in the console window opened with /console.

/quitAfterLaunch
Quits Safari after it’s launched.

-url
Specifies a URL to open on launch.

-stress
Rapidly opens different websites on launch.


COMMENTS

One Response to “Safari for Windows: Command line arguments”

  1. Dalton Cummings Says:

    Could be interesting to see what happens if you make a copy of “WebKit.dll” renamed to “WebKit_debug.dll”, then see what extra symbols(if any) Safari begins to look for…

    –Dalton

Leave a Reply