JavaScript console for Safari on Windows
written by craig, 13 June 2007
Unlike Firefox or Opera, Safari for Windows does not offer a wide range of debugging tools and they are fairly well hidden. To enable the Safari Debug menu option, you need to find your Preferences.plist file located in %APPDATA%\Apple Computer\Safari (%APPDATA is typically C:\Documents and Settings\your login name\Application Data\).
Open the file and add the following lines somewhere within the <dict> section:
<key>IncludeDebugMenu</key>
<true />
Restart Safari, and you will now have a new Debug menu immediately after Help. This offers a JavaScript console and a few other options.
I’ve been through a lot of my code and, with the exception of a single regular expression, Safari’s been very well behaved.
Would I switch from Firefox, IE, or Opera? Not a chance – and I doubt many people will. The interface is likely to confuse many Windows, Gnome, and KDE users and the browser doesn’t feel integrated with the OS.
However, I finally have a chance to prove my sites work on all platforms without resorting to slow online screen shot generators or humbly begging Mac users for their help!
- categories: javascript, web browsers
- trackback: http://www.optimalworks.net/blog/2007/web-development/javascript/safari-javascript-console/trackback
- bookmark: del.icio.us, digg, facebook, twitter, reddit, Furl, Spurl, Blinklist, Slashdot, Technorati, Yahoo!
8 comments:
15 June 2007 Stephen Cunliffe commented
17 June 2007 Jeff at wwwthenewsroomcom commented
17 June 2007 Craig commented
17 June 2007 Ricardo Carrasco commented
25 July 2007 undextrois commented
14 August 2007 dreamwind commented
23 February 2008 iphone nova commented
2 October 2008 Robert Walker commented