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

Selective clean Safari's history file Web Browsers
Auto-completing a web address from the History file is a very useful feature; however, if you're anything like me, you'll often hit Enter before the browser has completed it, and you're taken to somewhere completely different (I've lost count of the times I've ended up at ve.com instead of VersionTracker...).

Of course, every time you now type 've' in the address bar, ve.com will be first on the list - but selecting 'Clear History' gets rid of every site you've visited, so it's a bit of a harsh solution.

In Safari, you can open up your bookmarks by clicking the icon on the toolbar, view the history folder, and delete single entries from the history (click once and hit the delete key). Delete ve.com, and when you type 've,' you'll once again be offered versiontracker.com.
  Post a comment  •  Comments (2)  
  • Currently 3.38 / 5
  You rated: 5 / 5 (8 votes cast)
 
[41,980 views] Email Article To a Friend View Printable Version
Blocking ads and images in Chimera Web Browsers
One of my all time annoyances (maybe more than others) are web page ads. Chimera was the only browser that I use (besides my brief stint with Safari last week) that did not have an ad or images blocking feature. Well, I stumbled upon the eFritz Chimera tricks page; it's chock full of good stuff. For the image blocking, I've found that the second option in the "How do I block specific site's ads?" section, which shows you how to add in the images preference pane, works the best for my Dec 20, 2002 build.

This makes me a very happy web camper. The only thing I have left to do is to find a way to block similar flash ads, then I'll be set. Cheers!

[Editor's note: This hint explains how to block Flash ads in Mozilla-based browsers.]
  Post a comment  •  Comments (3)  
  • Currently 2.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[5,981 views] Email Article To a Friend View Printable Version
Use Speakable Items to navigate Safari by voice Web Browsers
Have you tried the Speakable Items lately - on a Mac, of course? Turn on Speakable Items in the System Preferences (the microphone) in X, and you can ask your Mac the classic question "What time is it?" and it will come back to you with the exact time. There's a whole lot of other commands in the speech commands window, which you open by clicking the little arrow at the bottom of the nifty round speech feedback window. Or you can just say: 'Open Speech Commands Window!' and it will open. But you can also make applications speakable. How?

Open Safari. Say: 'Make this application speakable'. Then say: 'Define keyboard command'. A window will open, and you hit the keyboard combination for a shortcut, let's say Command-left arrow. Write the command: 'Back'. Save. Now you can not only say the default window commands like: Move page up, move page down, move page to top, move page to bottom, but also 'back', and you will see Safari go back to the last page you visited. Now, say 'Define keyboard command' again, and this time hit command-right arrow and write: 'Next, please' (this works for me, forward doesn't). Now you can go back and forth in Safari with your voice.

The urls in the menu bar each have a command+1, command+2 and so on for nine favorite places you often go to. Now make these places speakable! Whoa! Mac rules! Safari rules! And, of course: Command-Alt-P: 'back to basics' (the new Safari command to go back to the mother site). Instead of 'back to basics' you can also say: 'back to the mother ship. It's your choice! And Command-Alt-S: 'back to search' (the new Safari command to go back to the search results you started with). And Command-Alt-B: 'Navigate' (my choice) will bring the bookmarks on/off. Nifty!

[Editor's note: You can, of course, use Speakable Items with other applications ... but people often overlook this feature, so I thought it was worth a mention, and the Safari context seemed timely...]
  Post a comment  •  Comments (9)  
  • Currently 3.33 / 5
  You rated: 5 / 5 (6 votes cast)
 
[27,552 views] Email Article To a Friend View Printable Version
Sync Safari bookmarks with Backup on .Mac Web Browsers
When I found Safari, I loved the new speed, the features, the whole experience. I was particularly pleased with the way it handled bookmarks -- both importing them from other browsers and then managing them once it imported them. I spent quite a bit of time organizing all my bookmarks. So much time that I thought -- I wish I had this organized list of bookmarks on all my machines.

At first, I played around with the idea of writing a shell script or apple script to copy the files over (the Safari bookmarks are in ~/Library -> Safari). Then, I thought about just pushing them over using file sharing or iDisk. All of these things would work, but I think I have come up with a more elegant solution. This only works if you have a .Mac account, but with that proviso...

I have created a new rule in Apple's Backup software that backs up the Safari bookmarks every day at noon. I have a "dominant" machine that I depend on (my laptop), and subsidiary machines that I use from time to time. The subsidiary machines can restore from the backup when I want to bring the bookmarks back in line.

The first time I used it, and then launched Safari on the new machine, I was so thrilled to have my "familiar" bookmarks there. With some tinkering you could probably bring over your cookies files, too, but I'll leave that as an exercise for the reader.

And, of course, the FTP / applescript / shell script version would be nice to have, too. I have also submitted a request to Apple for them to include the bookmarks files in their iSync list of things that can be sync'ed. That would be a great thing to share... wouldn't?

[Editor's note: There's another hint in today's hints regarding using .Mac and the Address Book to synchronize certain bookmarks ... this method handles the entire file.]
  Post a comment  •  Comments (2)  
  • Currently 3.00 / 5
  You rated: 4 / 5 (3 votes cast)
 
[7,202 views] Email Article To a Friend View Printable Version
Access online banking and other DLL sites in Safari Web Browsers
An annoying bug in Safari is that dll files that don't start with the tag <html> don't work properly. The reason for this is that dll is not one of the formats that Safari recognizes. As a result some sites, like Wachovia online banking, download to the desktop.

To fix this, control-click on Safari and select "Show Package Contents," and then navigate to Safari -> Contents -> Frameworks -> WebFoundation.framework -> Versions -> A -> Resources. Open the file "types.plist". Scroll down to where it says <key>text/html</key> and add a return after the next line which says <array>. Type <string>dll</string>. The resulting block of text should look like this:
<key>text/html</key>
<array>
<string>dll</string>
<string>html</string>
<string>htm</string>
<string>shtml</string>
<string>jhtml</string>
</array>
Save and close the file and relaunch Safari, and the problem should be fixed.

[Editor's note: I have not tested this hint, but I have verified the keys and file structure are as described.]
  Post a comment  •  Comments (12)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[7,723 views] Email Article To a Friend View Printable Version
Sync Safari bookmarks with Address Book and .Mac Web Browsers
In addition to finding bookmarks on your network with Rendezvous, Safari also searches your Jaguar Address Book for URLs you have entered in contact info. If you have .Mac, you can sync your Address Book info between multiple computers.

So what I did was make a new Group in Address Book called Bookmarks. In this group, I made cards for a few of my favorite websites. For instance, I made a contact called Mac OS X Hints and set the homepage to http://www.macosxhints.com/. After syncing with .Mac via iSync, I now have my favorite bookmarks available to my other Macs that have Safari.

I know there are already apps and web services that let you use your bookmarks among multiple computers, but I thought this was a neat hint for those who would like to do so within Apple's iLife.
  Post a comment  •  Comments (1)  
  • Currently 2.13 / 5
  You rated: 2 / 5 (8 votes cast)
 
[7,719 views] Email Article To a Friend View Printable Version
Use the Bugzilla bug tracker with Safari Web Browsers
Safari does not support server-push, a Netscape hack using Content-type: multipart/x-mixed-replace. Bugzilla, a bug tracking system, uses it in the query interface to display a "Please Wait" message. You can test that it does not work at bugzilla.mozilla.org. If you need to make it work, as I did in my internal Bugzilla, it only takes a small modification in Bugzilla source code:
  1. Edit the buglist.cgi, and search for 'multipart/x-mixed-replace'

  2. A couple of lines above that, you'll see an if statement. After the exists $ENV{'HTTP_USER_AGENT'}, insert && $ENV{'HTTP_USER_AGENT'} !~ /Safari/ so that the line reads:
    exists $ENV{'HTTP_USER_AGENT'} && 
    $ENV{'HTTP_USER_AGENT'} !~ /Safari/
    [Shown on two lines; enter as one with a space before the $ENV...]

  3. Save and exit. If you are using mod_perl, restart your webserver.
I already reported this bug to the Safari development team and I hope they'll support this feature sometime in the future. I've also opened a bug with the Bugzilla folks.
  Post a comment  •  Comments (2)  
  • Currently 2.80 / 5
  You rated: 1 / 5 (5 votes cast)
 
[8,858 views] Email Article To a Friend View Printable Version
Enable hover-underlined links in Chimera Web Browsers
To create hover underline links in Chimera, create a file called userContent.css in ~/Library -> Application Support -> Chimera -> Profiles -> default -> !random! -> chrome/. In the file, you can put in any number of CSS commands. To enable hover underline links add the following:
  A { text-decoration:none; }
A:hover { text-decoration:underline; }
Enjoy!

[Editor's note: Since there are literally hundreds of CSS commands you can use to create your own customized browsing experience, I could literally run customized CSS file hints forever ... but I won't, as that's not what the site is about! So consider this hint as a jumping-off point for further CSS file exploration; what you learn from here on is up to you. I won't run many other hints regarding customizing CSS files, as the scope is just too broad, and there are many other hint topics to cover...]
  Post a comment  •  Comments (2)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[4,942 views] Email Article To a Friend View Printable Version
Killing Safari-spawned FTP mounting daemons Web Browsers
Not sure if other people are having this issue, but I've noticed Safari leaves 'csmount' processes lying around unused even after unmounting the ftp server from the desktop.

Doing a 'ps -axww | grep csmount' reveals them, they look something like this:
 xxxx ??  Ss n:nn.nn /System/Library/Filesystems/ftp.fs/csmount
-m /Volumes/SITENAME ftp://SITENAME/PATH/
Where xxxx is the PID and n:nn.nn is the CPU time used (and the display is on one line, not two). I've run diskutil repairPermissions disk0s# and it doesn't see anything wrong with the the ftp.fs directory. Anyways, since Jaguar has a functional 'killall' command, killing them is quite simple:
 % killall csmount
It's conceivable that some people may need to run this as sudo killall csmount, for instance if they're launching Safari as root for some reason. All the dead csmount procs I've found were using my uid so far.
  Post a comment  •  Comments (0)  
  • Currently 2.50 / 5
  You rated: 3 / 5 (4 votes cast)
 
[3,352 views] Email Article To a Friend View Printable Version
Keep an eye on the latest Safari news Web Browsers
I just posted this as a link, but felt it worth mentioning as a hint as well. Dave Hyatt, who works for Apple on the open source WebCore portion of Safari, has a Surfin' Safari weblog online with all sorts of great Safari tidbits! You can read how they've fixed the CSS1 test suite rendering failure, sped up Flash animation, and other neat informational tidbits.

The site is only a week old (of course!), but there's already some great content there. Based on the published notes, it seems that the next rev of Safari will have even more bug fixes and neat features. Keep it up, Dave!
  Post a comment  •  Comments (9)  
  • Currently 2.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[5,885 views] Email Article To a Friend View Printable Version