Version 4 (modified by 16 years ago) ( diff ) | ,
---|
Web Inspector
The Web Inspector is tool that allows you to view information about CSS styles, DOM hierarchy and more in a compact floating window. More information about the Web Inspector can be found here.
Drosera
Drosera is a debugger for JavaScript. More information can be found on the Drosera page.
Debug menu
Safari includes a debug menu that contains some tools that may be useful to web developers. To enable the debug menu, enter the following command in Terminal and restart Safari:
defaults write com.apple.Safari IncludeInternalDebugMenu 1
Once the debug menu is enabled, you'll have access to the JavaScript console that allows you to see JavaScript errors if you don't need the full functionality of the Drosera debugger. You can also simulate a variety of user agent strings to help with user agent detection debugging.
The Page Load Test might also useful for those interested in performance. The Surfin' Safari blog has more information about using the PLT as does this page on general WebKit performance.
Detecting WebKit with Javascript
If you need to detect a specific version of WebKit, we have a JavaScript library to help you. More information can be found on the Detecting WebKit with JavaScript page.
Useful Links
- Safari/Webkit Version Matrix List of all Safari/WebKit versions and the corresponding updates they shipped with.
- Safari FAQ Answers many common questions about Safari/WebKit.
- Working with the WebKit Nightly Builds Includes information about changes to the
<script>
and<canvas>
tags.
- Object detection ADC article on alternatives to browser sniffing.
- XMLHttpRequest in Safari ADC article on using the XMLHttpRequest object. Includes examples.
- Web Page Development: Best Practices ADC article suggesting some best practices for web development.
- Extensive list of common user agent strings (Wikipedia)
- css-discuss Active mailing list and extensive wiki.
- Serving XHTML as text/html Ian Hickson's article on the dangers of serving XHTML as text/html.
- Web design references Links about every topic imaginable.
- CSS 2.1 Spec When all else fails, consult the spec.