Here’s a hint for those fucked over by Saft versioning

Saft does not work with the new Safari beta. If you are like me and depend on Saft to save the state of your windows, you are now freaking out.

Thankfully, if you open the Safari plist at com.apple.Safari.plist in Property List Editor, and search for the property “Saft Saved Windows”, you can take that nice hunk of base64 encoded data, go here and get a messy slice of data that never the less does contain your open window URL’s.

If you want, to sanitize, use TextMate to replace all “http://” with “[carriage return]http://”

Then do a regex replace:

[^a-z,A-Z,\:,\\,\/,\n,\r,.,&,?,%]replaced with nothing.

you get a reasonable clear file and can go from there.

I’m not a regex monkey, so I’m sure this can be improved

Comments 4

  1. Chris wrote:

    This is assuming you are running Saft 9.0.0b4:

    1. Navigate to /Library/InputManagers/Saft/Saft.bundle/Contents.
    2. Open the Info.plist file with the Property List Editor.
    3. Add a new child element to SaftSupportedSafariBuild containing 522.12.1 as the value (Safari 3.0.3).
    4. Quit and relaunch Safari and your Saft saved windows will be restored.

    Posted 02 Aug 2007 at 2:20 am
  2. Michael Larocque wrote:

    Whoa! Thanks Chris. Works like a charm.

    Posted 02 Aug 2007 at 7:44 am
  3. Ethan wrote:

    Hmmm…. that didn’t work. Safari loads, but no windows and it won’t launch any windows. bugger.

    Posted 02 Aug 2007 at 12:34 pm
  4. Chris wrote:

    And you are running 9.0.0b4 (listed as “Saft 9.0.0b4 for MacOS 10.4.10 and Safari 3.0.2 Public Beta (522.12)” at http://haoli.dnsalias.com/Saft/Download/ (I don’t see a link for version 9.0.0b4 from the main Saft page - only on this direct download page)? The old version (Saft v8.3.12) won’t stop Safari from loading but won’t work with this change.

    I’ve tried this on a MacBook Pro, G4 Powerbook and G5 iMac and they’ve all worked.

    Posted 02 Aug 2007 at 1:07 pm

Post a Comment

Your email is never published nor shared. Required fields are marked *