Saturday, February 23, 2008

browser debuger note

Note for memory...

Safari include a build-in debug menu, but default is off. To enable debug menu, command "defaults write IncludeDebugMenu 1" in shell, restart Safari to load it.

Debug menu with a javascript console. use Firebug compatible function console.log and can print some infomation in it

Regretfully, build-in javascript console is not with javascript shell. There is a nice alternative choice at here. drag the link named shell in this page to safari bookmark bar. Click the bookmark to got a javascript shell.

Firebug add-on is the better choice for looking DOM, CSS. It also with a nice build-in javascript shell.

Internet Explorer 7:
internet explorer developer toolbar is a new tool. It still in beta and only for IE7. Appearance looks like firebug, But without javascript shell and couldn't modify CSS in it. Any way, It shows some aurora for debugging javascript in IE. XD

More information in


No comments: