I played around with several pages and in all cases I got the error if
and only if the css were hosted in a different domain.  For example in
flickr, the page is loading CSS from l.ying.com.  When the script
attempts to read the cssRules property of one of those stylesheets, it
must effectively access the contents of a resource in another domain,
therefore a security exception is triggered.

(Note that the *full domain* must coincide in order for it to work;
for example the stylesheets for http://esquifit.myopenid.com/ are
hosted under www.myopenid.com, thus leading to the exception even
though the domain is myopenid.com in both cases).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to