[RESOLVED] Image from other domain not visible

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

[RESOLVED] Image from other domain not visible

Post by Olaf »

Hello,
on my site mysite.com I have images from my and from other sites:

Code: Select all

<img src="http://mysite.com/image.jpg">
<img src="http://othersite.com/image.jpg">
The first image is shown, the second not (with NoScript enabled). How can I show the second image without disabling NoScript?
Olaf
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
User avatar
therube
Ambassador
Posts: 7979
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Image from other domain not visible

Post by therube »

Allow othersite.com?

Otherwise is there anything related in Error Console (Ctrl+Shift+J)?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:41.0) Gecko/20100101 SeaMonkey/2.38
Guest

Re: Image from other domain not visible

Post by Guest »

no, this has no effect (I tried this at first)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
barbaz
Senior Member
Posts: 11142
Joined: Sat Aug 03, 2013 5:45 pm

Re: Image from other domain not visible

Post by barbaz »

That's odd... please post the following information:
1) DNS lookup of othersite.com from the machine having the issue
2) Request and response headers for the failing request (obviously, disable NoScript to get this)
*Always* check the changelogs BEFORE updating that important software!
-
Olaf

Re: Image from other domain not visible

Post by Olaf »

Hello,
thanks for having a look at this. I just found this message in the console

Code: Select all

[ABE] <LOCAL> Deny on {GET http://download.othersite.com/ffk/color.png <<< http://www.mysite.com/test.html - 3}
SYSTEM rule: Site LOCAL Accept from LOCAL Deny
I don't know why I haven't seen it yesterday. I now added a rule, but with no luck:

Code: Select all

# User-defined rules. Feel free to experiment here.
Site download.othersite.com
Accept ALL from download.othersite.com
Deny
Am I missing something?
Olaf
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
barbaz
Senior Member
Posts: 11142
Joined: Sat Aug 03, 2013 5:45 pm

Re: Image from other domain not visible

Post by barbaz »

Yes, overriding the SYSTEM rule has to be placed above it in SYSTEM. It thinks that othersite is LOCAL...
If that is unexpected at all, please do a DNS lookup of othersite as above before adding an exception.

Anyway, this is probably the exception you need:

Code: Select all

Site download.othersite.com
Accept from .mysite.com
*Always* check the changelogs BEFORE updating that important software!
-
Olaf

Re: Image from other domain not visible

Post by Olaf »

Yes, this works.
Thanks,
Olaf
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
Post Reply