Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Activating Safari's Debug Menu

Activating Safari's Debug Menu
Thread Tools
Mac Elite
Join Date: Sep 2000
Location: Tempe, AZ
Status: Offline
Reply With Quote
Jan 7, 2003, 09:13 PM
 
From the terminal, do
Code:
defaults write com.apple.Safari IncludeDebugMenu '<true/>'
There's some pretty cool stuff in there.
Geekspiff - generating spiffdiddlee software since before you began paying attention.
     
Mac Elite
Join Date: Oct 2000
Location: Amboy Navada, Canadia.
Status: Offline
Reply With Quote
Jan 7, 2003, 10:51 PM
 
now that's cool! hope they don't take it out....good thing it's open source :-)
[img]broken link[/img]
This insanity brought to you by:
The French CBC, driving antenna users mad since 1937.
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Jan 8, 2003, 12:39 AM
 
The KHTML rendering core is Open Source. Safari is not.
Vandelay Industries
     
Professional Poster
Join Date: Mar 2001
Location: Florida
Status: Offline
Reply With Quote
Jan 8, 2003, 12:57 AM
 
What's the menu contain? Also, to take it off, would it be 'false' in place of true?
All Your Signature Are Belong To Us!
     
Mac Elite
Join Date: Oct 2000
Location: Amboy Navada, Canadia.
Status: Offline
Reply With Quote
Jan 8, 2003, 01:45 AM
 
sorry, misunderstood. I suppose that Safari has a modified core, which is released (GPL and all), while the GUI is a closed frontend for it.

too bad, would have gotten great press if apple opened the entire browser...can't port the frontend when it's for the windowserver anyway.
[img]broken link[/img]
This insanity brought to you by:
The French CBC, driving antenna users mad since 1937.
     
smeger  (op)
Mac Elite
Join Date: Sep 2000
Location: Tempe, AZ
Status: Offline
Reply With Quote
Jan 8, 2003, 07:07 AM
 
Yes, to take it off, you use 'false' instead of true.

The menu contains items that show you the DOM tree for the current webpage (useful for web developers), a listing of items that were rendered on the current page, the view hierarchy for the current page,

<pant pant pant>

a "snippet" editor which lets you type arbitrary bits of HTML and see them rendered in realtime (this alone will make me keep Safari on my machine!!!), a window with detailed info on what's in your cache, a page that lets you do speed tests on various websites using various methods,

<hrahhhrg pant pant wheeeze>

a selector for whether or not Forward & Back uses the cache, a listing of all mouse & keyboard shortcuts, a menu that lets you open your front page in a different web browser, a menu that lets you choose your user-agent, a menu that shows & lets you turn on & off the protocols supported by Safari, and some vaguely cryptic settings for secure pages.

Wheeeee...


Another fun move you can pull is (this one's untested by me):
Code:
defaults write com.apple.Safari WebKitMinimumFontSize '<integer>9</integer>'
You can probably guess what that does...

Here are some more fun 'defaults':
  • WebKitCursiveFont
  • WebKitFantasyFont
  • WebKitFixedFont
  • WebKitSansSerifFont
  • WebKitSerifFont
Geekspiff - generating spiffdiddlee software since before you began paying attention.
     
Professional Poster
Join Date: Mar 2001
Location: Florida
Status: Offline
Reply With Quote
Jan 8, 2003, 10:11 AM
 
Ah so mostly dev techy stuff. Ok, I see why Apple hid it, so I'll leave it covered because most of that stuff is over my head.
All Your Signature Are Belong To Us!
     
Dedicated MacNNer
Join Date: Oct 2001
Location: Los Angeles, CA
Status: Offline
Reply With Quote
Jan 8, 2003, 10:37 PM
 
Another fun move you can pull is (this one's untested by me):
Code:
defaults write com.apple.Safari WebKitMinimumFontSize '<integer>9</integer>'
Soon after I tried this, Safari crashed and refused to restart, even though the font size was modified until that point.

I had to trash my prefs and caches (after a few tries) to get back to a Safari that would run.
     
   
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -4. The time now is 03:37 AM.
All contents of these forums © 1995-2014 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2014, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2