[RESOLVED] NoScript causes Images to be displayed as broken

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

[RESOLVED] NoScript causes Images to be displayed as broken

Post 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
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript vauses Images to be displayed as broken

Post by Giorgio Maone »

Do you get any message in Tools|Error Console, especially lines starting with "[ABE]"?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Joerg

Re: NoScript vauses Images to be displayed as broken

Post 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
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript vauses Images to be displayed as broken

Post 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
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Joerg

Re: NoScript vauses Images to be displayed as broken

Post 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?
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript vauses Images to be displayed as broken

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Joerg

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

Post 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?
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Joerg

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

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Post Reply