Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Enable a circular page loading indicator in Safari 3 Web Browsers
Safari 3 has a hidden option to show a circular progress indicator within each tab as it's loading. A nice option, and to enable it, quit Safari and then type this in Terminal:
defaults write DebugUsePieProgressIndicator -bool true
Credits to this Flickr page, which shows you what the progress indicator looks like.
  Post a comment  •  Comments (8)  
  • Currently 2.00 / 5
  You rated: 4 / 5 (8 votes cast)
[15,930 views]  View Printable Version
Set desktop pictures via Safari 3 beta Web Browsers
After what seems like an eternity, Apple has finally made it extremely easy to set an image you find online as your desktop picture. It couldn't be simpler: Find the image you want to use, control-click on it, and choose Use Image as Desktop Picture from the pop-up menu. It's as simple as that.

[robg adds: Perhaps I'm the only one, but I hadn't noticed this option yet. Keep in mind that unless the image you find is at least the same resolution as your monitor, you'll get some pretty bad fuzziness as OS X attempts to scale the chosen image up to your monitor's resolution.]
  Post a comment  •  Comments (4)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
[9,834 views]  View Printable Version
Mimic Opera's Fit to Width feature Web Browsers
The Opera web browser's Fit to Width feature eliminates horizontal scrolling on pages like this. However, if you don't or rarely use Opera, then here are some partial solutions. Mozilla browsers have a userContent.css option:
pre { white-space: -moz-pre-wrap !important; }
That will auto-format the aforementioned page, but it won't work on pages like this. The following bookmarklets, based on Ruderman's original and some variants attempt to fix this:

word-wrap for gecko browsers

WebKit browsers have a word-wrap:break-word built in, but not inside certain tags, and no -moz-pre-wrap equivalent:

word-wrap++ for webkit browsers

Change the width and/or prewidth variables to suit your screen size/resolution and possibly to get it to work with other sites. If the bookmarklets are mangled, you can copy the code/links directly from the source.

[robg adds: Keep in mind that the reason the pages get wide is that users have submitted code snippets without line breaks. Based on my testing (in Camino at least), the way these reformatters work is by inserting actual line breaks. If you then copy and paste the code as-is, it may or may not work. Remove the added line breaks if you have issues. I try to always format stories such that they don't require horizontal scrolling, but I have no control over comments.]

  Post a comment  •  Comments (2)  
  • Currently 2.00 / 5
  You rated: 4 / 5 (4 votes cast)
[8,771 views]  View Printable Version
Watch Safari 3 tear-off-tabs animation in slow motion Web Browsers
I found this out while playing around with Safari 3. If you hold down the Shift key while pulling a tab off a window (to create a new window from that tab), the effect will proceed in slow motion, similar to the effect that the Shift key has on Exposť.
  Post a comment  •  Comments (3)  
  • Currently 1.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
[10,231 views]  View Printable Version
Stop SafariStand from breaking Safari 3 Web Browsers
When I first tried Safari 3, it was unusable. Every time it loaded a page, it would fail to render and the previous page (or blank window) would remain. Only reloading would cause pages to render properly.

I tracked the problem down to SafariStand -- in particular, its site alteration feature (which was high on my list of suspects from the beginning). So if you want to use SafariStand with Safari 3, you'll have to switch the site alteration feature off.
  Post a comment  •  Comments (13)  
  • Currently 3.00 / 5
  You rated: 5 / 5 (4 votes cast)
[11,457 views]  View Printable Version
Enable the Web Inspector tool in Safari 3 beta Web Browsers
I've installed the Safari 3.0 beta, and so far I like it. While I was trying to dissect some CSS - JavaScript, I suddenly remembered I'd read about enabling a pretty neat Web Inspector tool in one of the nightly builds:

So I tried it, and it works perfectly in the public beta of Safari 3.0. Quit Safari, open Terminal, and type:
defaults write WebKitDeveloperExtras -bool true
Launch Safari, and control-click somewhere on a web page. You will see a new Inspect Element entry in the contextual menu. Select it, and it will open up the Web Inspector and refocus to the node under your cursor.

[robg adds: You also get the inspector, automatically, if you enable the Debug menu (as has been described here before, and is repeated in another hint today).]
  Post a comment  •  Comments (2)  
  • Currently 3.17 / 5
  You rated: 5 / 5 (6 votes cast)
[38,902 views]  View Printable Version
View SVG images in Safari 3 beta Web Browsers
One of the nice new features of the new Safari 3 beta is that it can display Scalable Vector Graphics (SVG). Check out an example image here.

[robg adds: As best I can tell, support for SVG isn't mentioned on Apple's Safari pages, nor in the Welcome.rtf file in the installer files. I won't be running any other posts on the features of Safari 3, so if you can provide detail on other new stuff you may have found (beyond the obvious new menu items and the features Apple has described), please add in the comments.]
  Post a comment  •  Comments (8)  
  • Currently 3.00 / 5
  You rated: 5 / 5 (8 votes cast)
[22,303 views]  View Printable Version
How to use Safari 2 WebKit after installing Safari 3 Beta Web Browsers
After installing Safari 3 you won't be able to run Safari 2 to test websites or whatever any more. Here's one way to make them both available:
  1. Install Safari 3 Beta
  2. Rename /Applications » to
  3. Install WebKit Nightly
  4. Rename /Applications » to
  5. Unarchive the backed up Safari -- expand /Library » Application Support » Apple » .SafariBetaArchive.tar.gz
  6. Copy the old Safari from /Library » Application Support » Apple » .SafariBetaArchive » Applications » to /Applications »
  7. Copy all the frameworks into Safari2. Inside the .SafariBetaArchive folder, you'll find these frameworks:
    • System » Library » Frameworks » WebKit.framework
    • System » Library » Frameworks » WebKit.framework » Versions » A » Frameworks » JavaScriptCore.framework
    • System » Library » Frameworks » WebKit.framework » Versions » A » Frameworks » WebCore.framework
    Copy all of these into /Applications » » Contents » Resources
That's it; now you can open Safari2. If you need it, there's much more detail in this post on my blog. I also include a shell script solution for getting both versions of Safari working.
read more (96 words)   Post a comment  •  Comments (12)  
  • Currently 2.20 / 5
  You rated: 1 / 5 (5 votes cast)
[25,119 views]  View Printable Version
Enable the Debug menu in Safari 3.0 for Windows Web Browsers
If you're a web developer, Safari's Debug Menu is a necessity. Fortunately for those of us stuck in Windows, Safari's Debug menu is still available, however, it appears you have to get your hands dirty to enable it. On a Mac, you'd open a Terminal and type:
defaults write IncludeDebugMenu 1
As far as I can tell, Windows doesn't have Apple's defaults utility. Instead, you have to directly edit the plist file, where the preferences are stored and the Debug menu is enabled. This is just a plain-text XML file. So to enable the Debug menu in Safari for Windows, add the following key-value pair to c:\Documents and Settings\your username\Application Data\Apple Computer\Safari\Preferences.plist:
Insert the above code before the closing </dict> element and restart Safari. It seems a little more spartan than Safari for Mac's debug menu, but at least it includes a JavaScript console and User Agent switching. (I also posted this on my blog.)
  Post a comment  •  Comments (3)  
  • Currently 2.71 / 5
  You rated: 4 / 5 (7 votes cast)
[35,419 views]  View Printable Version
Fix a bookmark-related crash on Safari 3 for Windows Web Browsers
When Safari 3 beta was released for Windows, I immediately tried to install it on my Windows XP machine at work. Unfortunately, the windows beta is more of an alpha, and IMHO, should never have been released. On my installation (Dutch Windows XP), Safari was crashing when trying to show bookmarks or add a new bookmark. A quick check revealed that the Bookmarks.plist file was missing.

As I did not have my Mac available to copy a bookmarks.plist file from, I tried to manually create an empty bookmarks.plist file, taking another .plist xml file as example, but alas, this did not work. Then I discovered a file named BuiltInBookmarks.plist inside the en.lproj folder: C:\Program Files\Safari\Safari.resources\en.lproj. This file seems to be in a binary format (not XML), which may have caused my manually crafted .plist not to work. So here's how I solved the problem:
  1. Quit Safari
  2. Find the file BuiltInBookmarks.plist in the C:\Program Files\Safari\Safari.resources\en.lproj\ folder
  3. Copy the file to the Safari preferences folder: C:\Documents and Settings\your username\Application Data\Apple Computer\Safari
  4. Rename the copied file to Bookmarks.plist and start Safari
If all went well, there will be some default bookmarks in the bookmarks toolbar. On my machine, Safari automatically imported bookmarks from Firefox and Internet Explorer, showing an errormessage 'Safari is missing some important resources' at some point. Restarting Safari solved the issue and bookmarks are now working fine.

NOTE: The imported bookmarks are not added to the Bookmarks menu. Choose Show All Bookmarks from the Bookmarks menu to view the imported bookmarks.
  Post a comment  •  Comments (1)  
  • Currently 3.00 / 5
  You rated: 1 / 5 (5 votes cast)
[9,099 views]  View Printable Version