halo.bungie.org

They're Random, Baby!

Reading HBO with Safari

On Tuesday, January 7th, Steve Jobs introduced a new browser from Apple Computer - based on KHTML (the core technology behind the open source browser Konquerer), it was called Safari. It's fast, it's pretty, it adheres to standards pretty well. And it can't hold a cookie from this site. :(

B.org staffers noticed the problem as early as Tuesday morning... but we had no idea how to solve it. I found that if I removed the expiration tag from the cookie, Safari was okay with it... but IE broke. So, we put things back the way they were, and waited for Apple to fix Safari.

This might be a long wait... but a reader has sent in a fix. Mac-using Halo fans everywhere thank you, Steve!



Date: Tue, 14 Jan 2003 21:53:02 -0500
Mime-Version: 1.0 (Apple Message framework v551)
Subject: Spoilers Cookie
From: Steven Rice 
To: halo@bungie.org

HBO Staff-

Just a heads-up. For those using Apple's new Safari web browser, the
cookie which controls the spoiler settings doesn't activate when
going to the page that changes your settings. After a bit of poking
around, I've found out how you can add the cookie manually:

Open the Cookies.plist file found in the Library:Application
Support:WebFoundation folder in your home directory in any text
editor (like TextEdit or BBEdit). To enable spoilers, add the
following block of text just before the "</array>" line
near the end of the file:

	<dict>
		<key>Domain</key>
		<string>.halo.bungie.org</string>
		<key>Expires</key>
		<date>2003-09-30T17:00:00Z</date>
		<key>Name</key>
		<string>platformchoice</string>
		<key>Path</key>
		<string>/</string>
		<key>Value</key>
		<string>xbox</string>
	</dict>

To disable spoilers, add this text instead:

	<dict>
		<key>Domain</key>
		<string>.halo.bungie.org</string>
		<key>Expires</key>
		<date>2003-09-30T17:00:00Z</date>
		<key>Name</key>
		<string>platformchoice</string>
		<key>Path</key>
		<string>/</string>
		<key>Value</key>
		<string>pc</string>
	</dict>

Now just save the file and reopen Safari. Viola! Your new settings
are in effect.
I hope that this helps anyone who is trying out Safari. Now I can be
sure that I won't miss any great HBO content.
Thanks for the great site!

--Steve Rice
  (117)

Update, 26 November 2004
This technique still works if you're using OSX 10.2 (the problem was fixed in 10.3); you'll want to change the name string to 'spoilerchoice', and the value string to one of 'all', 'nohalo2', 'nohalo', or 'none'.

Of course, you should change the expiration date to something reasonable, too.

bungie.org