Page 1 of 1

problem with local xbl script

Posted: Mon Mar 23, 2009 12:44 pm
by Richard
Hi,

I have a simple mechanism to modify colors to my liking:

in userContent.css:
BODY, TABLE, PRE, LI, A, P, TR, TD, DIV
{ -moz-binding: url("fix-colors.xml#fxc"); }

fix-colors.xml is in the same directory, ~/.mozilla/firefox/XXX/chrome

With noscript I get the problem that the XBL binding is blocked unless
I enable the target site. So if I am viewing

http://www.example.com

in noscript I have to enable scripts for http://www.example.com - whick almost
completely defeats the purpose of noscript. 127.0.0.1 is enabled but I still
have to enable the other site.

This is Ubuntu 804 with default install.

How do I explain noscript that fix-colors.xml is my trusted script?

Richard

Re: problem with local xbl script

Posted: Mon Mar 23, 2009 12:57 pm
by Giorgio Maone
Nothing to do about it.
This is a well known Firefox bug: not even XBL from chrome (privileged) can run scripts in a JavaScript-disabled page...

Re: problem with local xbl script

Posted: Tue Mar 24, 2009 6:35 pm
by Richard
Thanks for the info, but since it works fine without noscript, is there no way
noscript could make it work?
Anything I can do to circumvent the problem?

Richard

Re: problem with local xbl script

Posted: Tue Mar 24, 2009 8:17 pm
by Giorgio Maone
Richard wrote:Thanks for the info, but since it works fine without noscript
Not exactly. It doesn't work either if you disable JavaScript from Firefox's own built-in options.
Richard wrote:Anything I can do to circumvent the problem?
Nope, sorry.