Security error in Firefox 3.0RC1 + GM 0.8.20080505.0

8 views
Skip to first unread message

Ryland

unread,
May 17, 2008, 7:44:29 PM5/17/08
to greasemonkey-users
Hi all,

I just upgraded to FF 3.0 RC1 and GM 0.8.20080505.0. One of my user
scripts is now throwing a security error when I try to add a style
sheet rule - but only when I refresh the page. When I navigate to the
page by clicking a link or typing the URL into the URL bar, it works
as before and adds the rule. Then I hit ctrl-r, and it throws the
error and the script halts.

This is the code on the line where the script halts:

document.styleSheets[0].insertRule(".alter1:visited { color:
#CCCCCC; }",0);

Error console message says "Security error" and the line number.

Is this a bug in my script, a bug in GM, or a bug in FF 3.0?

Anthony Lieuallen

unread,
May 18, 2008, 10:58:41 AM5/18/08
to greasemon...@googlegroups.com
On 5/17/2008 7:44 PM, Ryland wrote:
> I just upgraded to FF 3.0 RC1 and GM 0.8.20080505.0.
> ...

> Is this a bug in my script, a bug in GM, or a bug in FF 3.0?

I don't know. Please submit a ticket:

http://greasemonkey.devjavu.com/newticket

With all these details, attach a copy of the script, and indicate
exactly which page this error happens on.

Ryland

unread,
May 19, 2008, 12:34:58 AM5/19/08
to greasemonkey-users
Thanks, will do.
Reply all
Reply to author
Forward
0 new messages