problem with local xbl script

Ask for help about NoScript, no registration needed to post
Richard

problem with local xbl script

Post 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
Dillo/0.8.5-i18n-misc
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: problem with local xbl script

Post 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...
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)
Richard

Re: problem with local xbl script

Post 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
Dillo/0.8.5-i18n-misc
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: problem with local xbl script

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)
Post Reply