How to get that Web Inspector, Java Script Console, DOM Explorer up in Safari on Windows
This has been written before, but it’s just not propagated enough. After spending a day and a bit chasing down really esoteric browser incompatibilities, I’d like to drop another bit of information into the ether for those 0.00005% of people who just might appreciate it. Other people have reported on this, but most posts are ancient and not currently useful.
Problem: I want to work on Safari 3.1 in Windows XP Service Pack 3, not the WebKit nightly builds. The tardtastic Developer Safari FAQ neglects to tell me how to open the JavaScript console on Windows.
Solution: To turn on your JavaScript console in the set-up listed above:
- Find your Safari
WebKitPreferences.plistfile. If your setup is like mine, it should be located in: - Input these two lines between the
<dict>...</dict>tags - Restart Safari, if it’s running.
- After opening a page, right click on the page to bring up the context menu
- Click on the “Inspect Elements” menu option
C:\Documents and Settings\INSERT_YOUR_USER_NAME_HERE\Application Data\Apple Computer\Safari
<key>WebKitDeveloperExtras</key>
<true/>
Viola, Web Inspector.
And remember, it is “Love your pet rock” week starting tomorrow.
Comments
Leave a Reply