« Arab Spring Arrives Late in Israel | Main | Possible “item” Names »

Rollback Safari 5.1 on Mac OS X

For the last month I’ve been working on a script to allow me to import animated GIFs into Yojimbo, which script incorporates a few of the concepts I used for Add Bookmark to Yojimbo and Yojimbo Bookmark Collection From Front Window. Stoked by hot new scripting functionality, I decided to accept Software Update’s waiting updates.

A few days later I noticed my new script» was failing to add the selected text to the comments of the new Yojimbo items it creates. A few moments with Google led me to the problem.

Until Apple updates Safari so JavaScript can once again identify selected content, I’m staying with the earlier version of Safari (for me Safari 5.0.5). If you’ve upgraded and are missing the ability to refer to content selected in Safari using JavaScript, you can follow these instructions from MacOSXHints to downgrade Safari to your previous version.

end of article

Comments

#1

What can we do to get back to Safari 5.0.5 when the New update of Safari 5.1.1 is the latest update, when we try to roll it back from the Archive the file it has saved Safari 5.1.0

The reason we need the older version is because Adobe has yet to release an Safari 5.1 compatible PDF plugin to view PDF's online with embedded websites. Please Help.

#2

Dan,

Sorry, but I don’t really have an answer for you on this one. Try asking your question in the Mac OS X Hints article Restore previous Safari version from .SafariArchive.tar.gz.

My (untested) guess depends on Time Machine (or some other back archive). Find a backup that has Safari version 5.1.0 (or earlier) in /Applications. Once you’ve located the correct backup volume, execute the following on the command line (replacing "[BackupVolume]" with the name of your backup volume.

	sudo tar -xvf /Volumes/[BackupVolume]/Library/Application\ Support/Apple/.SafariArchive.tar.gz -C /


Then execute the line

	sudo rm -rf /private/var/db/receipts/com.apple.pkg.Safari51SnowLeopard.*


for completion’s sake.

Good luck,

Johnnie Wilcox
aka mistersquid