User-agent: Mozilla Thunderbird 1.0 (Macintosh/20050129)
Blake Patterson wrote:
I am currently pulling two remote .js files containing document.writes
only that render HTML via SCRIPT tags in the main body of my widget.
I need to refresh these two files based on a timer and find that doing
a window.location.reload() breaks the flip animation. So it seemed to
me that XMLHttpRequest would be a good way to go, as it can pull raw
text strings in addition to individual pieces of an XML feed. The
thing is, there is a restriction, stated in Apple's docs:
This page is a good starting point, but you can learn more from the
existing Widgets which use the XMLHttpRequest.
" Second, the domain of the URL request destination must be the same
as the one that serves up the page containing the script. This means,
unfortunately, that client-side scripts cannot fetch web service data
from other sources, and blend that data into a page. Everything must
come from the same domain. Under these circumstances, you don't have
to worry about security alerts frightening your users. "
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden