Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Need Apple/Safari JavaScript/DOM Debugger

Apple/Safari MAC JavaScript/DOM Debugger

4:08 pm on Jul 20, 2006 (gmt 0)

New User

5+ Year Member

joined:July 19, 2006
votes: 0

I use a floating icon in the upper left corner (planted with CSS) in some long documents to represent a drop down navigation menu. The JavaScript code is similar to "Contents" pull-down menu at www.quirksmode.org (i.e., click on the icon and you get a "Contents" navigation pull-down), except the content links are pre-marked with a special class and name key.

It works fine on Mozilla, Firefox, etc., but not on Safari or IE. I'm close to solving the problem on IE, having found a reasonable IE JavaScript/DOM debugger (I had to try several), but not on Safari. Peter-Paul Koch's code at QuirksMode clearly works on Safari, so my JavaScript is the problem.

If anyone knows of a good one for MACs could you PLEASE point me in the right direction? The Apple developer site claims to have several, but I don't want to install and then uninstall, any useless packages. I had to rebuild an XP box to repair problems caused by one IE debugger and don't wish to do a rebuild on a MAC. My kids would might commit fratricide if I wrecked one of their MACs. Alert is too painful and slow.

On Safari, the pull-down works as it does in IE, but clicking on any item does nothing. It's as if the local <a name="x"> links do not exist in the document. If anyone knows what I need to check, could you PLEASE let me know?

12:19 pm on July 21, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 26, 2004
votes: 0

Drosera [webkit.opendarwin.org]? Although you'll have to download a recent nightly to get that.
3:50 pm on July 24, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member whoisgregg is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 9, 2003
votes: 0

The latest version of WebKit [webkit.opendarwin.org] should be helpful. Also, the Firefox Javascript Console is very handy for checking javascripts (even when they work in Firefox, it may still throw warnings that apply toward solving Safari problems.)

I had to rebuild an XP box to repair problems caused by one IE debugger and don't wish to do a rebuild on a MAC.

Really, you don't need to worry about this kind of thing. If you are downloading software recommended by Apple's Developer Connection site, the risk of damage is very low. Mac software tends to not do system wide damage.

Added: Whoops, I didn't realize Robin's post was talking about WebKit. (Didn't know it was called Drosera.)


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members