stripped down to just this code-
if (document.styleSheets){
var thecss = new Array();
var len=document.styleSheets.length;
for (x=0;x<len;x++)
{
alert('sheet '+x+' of '+len);
if (document.styleSheets[0].rules)
alert('IE');
else
if (document.styleSheets[0].cssRules)
alert('FF');
else
alert('unknown');
}
}
i think there's an error & stopped running when it encountered the
expression:
"document.styleSheets[0].cssRules"
i cannot tell why - it worked for other sites. anybody has any insight?
thanks
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/greasemonkey-users/-/KiGYK2uPJVAJ.
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.