<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>I'm having a problem with my script &lt;a href=&quot;http://userscripts.org/scripts/show/10174&quot;&gt;MySpace Birthdays on Homepage&lt;/a&gt;. While you're on your user homepage, there's a GM_xmlhttpRequest that grabs the listing of your friends who have upcoming birthdays, and the script places that information on the homepage. I've found that the xhr now returns a login form unless the MYUSERINFO cookie is part of the request.

The browser sends the MYUSERINFO cookie whenever it requests a MySpace page, but I can't access it via document.cookie. (If I could, this would be a trivial problem to solve; I could just grab MYUSERINFO out of document.cookie without having to store it anywhere.) The only other way I can think of getting the cookie is to try to catch it while it's being set (at login), but I can't seem to do that either.

I do realize that this might be impossible because it's a security risk, but getting the user's MYUSERINFO cookie and allowing the script to work automatically would be much more convenient than having people enter their cookie information manually.</body>
  <body-html>&lt;p&gt;I'm having a problem with my script &lt;a href=&quot;http://userscripts.org/scripts/show/10174&quot;&gt;MySpace Birthdays on Homepage&lt;/a&gt;. While you're on your user homepage, there's a GM_xmlhttpRequest that grabs the listing of your friends who have upcoming birthdays, and the script places that information on the homepage. I've found that the xhr now returns a login form unless the MYUSERINFO cookie is part of the request.&lt;/p&gt;

&lt;p&gt;The browser sends the MYUSERINFO cookie whenever it requests a MySpace page, but I can't access it via document.cookie. (If I could, this would be a trivial problem to solve; I could just grab MYUSERINFO out of document.cookie without having to store it anywhere.) The only other way I can think of getting the cookie is to try to catch it while it's being set (at login), but I can't seem to do that either.&lt;/p&gt;

&lt;p&gt;I do realize that this might be impossible because it's a security risk, but getting the user's MYUSERINFO cookie and allowing the script to work automatically would be much more convenient than having people enter their cookie information manually.&lt;/p&gt;</body-html>
  <created-at type="datetime">2008-06-24T15:54:08Z</created-at>
  <forumable-id type="integer">1</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">10152</id>
  <topic-id type="integer">2638</topic-id>
  <updated-at type="datetime">2008-06-25T17:32:31Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">4093</user-id>
</post>
