Page 1 of 1

[RESOLVED] NoScript causes Images to be displayed as broken

Posted: Thu Feb 03, 2011 7:53 pm
by Joerg
Hi guys,

I use NoScript since many years now and it works great! Thanks also for maintaining it that actively!

But now there is one thing, I don't understand:

I can no longer see images inside an editor on localhost.

I use a rich text editor, which is based on ExtJS. When NoScript is activated, images which should be displayed inside the editor window are broken.
Instead of the image I only see a frame with an icon of a broken paper in the upper left corner.
When I deactivate NoScript, the images are shown correctly.

When I use the same version of that editor installed on some domain in the web, images are displayed correctly.

Both, localhost and that domain, are on the whitelist of NoScript.

I use Firefox 3.6.13 and NoScript 2.0.9.7.

Any ideas on that one?

Joerg

Re: NoScript vauses Images to be displayed as broken

Posted: Thu Feb 03, 2011 8:27 pm
by Giorgio Maone
Do you get any message in Tools|Error Console, especially lines starting with "[ABE]"?

Re: NoScript vauses Images to be displayed as broken

Posted: Thu Feb 03, 2011 8:46 pm
by Joerg
Oh, yes!
No errors, but hundreds of Warnings. All concern the CSS, e.g.
- Unknown property "...". Declaration ignored.
- Error evaluating the value of "...". Declaration ignored.
and for each image
[ABE] <LOCAL> Deny on {GET http://localhost/folder/file.jpg <<< about:blank, about:blank - 3}
SYSTEM rule:
Site LOCAL
Accept from LOCAL
Deny

Re: NoScript vauses Images to be displayed as broken

Posted: Thu Feb 03, 2011 8:56 pm
by Giorgio Maone
Try to modify the only rule in the NoScript Options|Advanced|ABE SYSTEM ruleset this way:

Code: Select all

Site LOCAL
Accept from LOCAL about:blank
Deny

Re: NoScript vauses Images to be displayed as broken

Posted: Thu Feb 03, 2011 9:21 pm
by Joerg
I changed it from the original, which was:
Site LOCAL
Accept from LOCAL
Deny
to the value you proposed.

Now the pictures are displayed! :-)

Why is that change needed? I think that this once worked without changing this rule.
Will this have any side effects?

Re: NoScript vauses Images to be displayed as broken

Posted: Thu Feb 03, 2011 9:29 pm
by Giorgio Maone
Joerg wrote: Why is that change needed? I think that this once worked without changing this rule.
It's very unlikely. More probable are changes either in the site or in Firefox.
Anyway, you could verify by downgrading until you find the version where this started.
Joerg wrote: Will this have any side effects?
No, it shouldn't.

Re: [RESOLVED] NoScript causes Images to be displayed as bro

Posted: Thu Feb 03, 2011 9:46 pm
by Joerg
I now downgraded to the oldest version on your feed, but it is still broken with that one.
The application in deed changed rather drastically, e.g. it used an iframe and real popup windows before and now uses ExtJS-layers.

Would it be an option to change the default ruleset, so that it again works without manual changes?

Re: [RESOLVED] NoScript causes Images to be displayed as bro

Posted: Sun Feb 06, 2011 6:35 pm
by Joerg
However, the last question is more or less meaningless in consideration of the fact that you have solved my problem.

Thank you for your fast and helpful response. :-)

That's what I like in Open Source.