Monday, October 26, 2015

BookmarkData Exposed

Michael Lynn:

To wit: What are the .sfl files that are appearing in OS X 10.11 El Capitan? There sure are a lot of them!

[…]

But suddenly - more horrible implementation details: You can’t get the list of available keys!

Everywhere you search, everyone just recommends “try all the keys” or “try the keys you want values for”.

… But none of the keys Apple has documented return just the simple share URL. They apparently want you to only use URLByResolvingBookmarkData for that.

[…]

With the information this undocumented debug output provides, I was able to determine the entire structure of the BookmarkData format, which I’ll now document here.

1 Comment RSS · Twitter


Leave a Comment