Page 1 of 1

Block "subdomain" scripts?

Posted: Sun Jan 17, 2010 3:32 am
by Jojo999
Looky here:
http://www.fototime.com/BADCB2DEF1206F3/orig.jpg

I often run into problems with page openings/refreshes delayed on the www.sfgate.com site.

When I look at what is trying to open in the bottom left of the status bar, I will see things like 'imgs.sfgate.com', 're.sfgate.com', etc. which are usually ads.

I am allowing sfgate.com globally which apparently defaults to *.sfgate.com.

Is there some way to exert control over what is allowed to piggyback on the main domain in NoScript?

Re: Block "subdomain" scripts?

Posted: Sun Jan 17, 2010 4:11 am
by Jojo999
Same site, another similar issue (delayed opening):

Screenshot:
http://www.fototime.com/32D60C916C8256D/orig.jpg

Why isn't this problem link being blocked ('dealerimages.gabriels.net') by NoScript?

I don't even see this in the list of links I can block.

Re: Block "subdomain" scripts?

Posted: Sun Jan 17, 2010 4:27 am
by Jojo999
One more example:
http://www.fototime.com/741BC25CE768FCC/orig.jpg

A different site that again isn't listed as blockable by NoScript.

Where are these sites coming from an dhow can they be controlled?

Re: Block "subdomain" scripts?

Posted: Sun Jan 17, 2010 3:23 pm
by therube
NoScript is not going to block web pages or images or the like.
It blocks JavaScript on web pages from running.

So if you are hanging at imgs.sfgate.com, I would look at something that is trying to block that.
A HOSTS file comes to mind.
Might also try clearing your cache.

If you were to block imgs.sfgate.com, the page would be pretty much devoid of ... images.


Heh, & looking just now, it seems I am waiting on a "zvents.com" to load. (That was after blocking imgs.sfgate.com/* with AdblockPlus, then removing the block.)


If you were to Allow http://www.sfgate.com or http://www.sfgate.com (rather then sfgate.com), then you could individually allow or not, imgs.sfgate.com. (But I don't believe it would help?)


Same way with dealerimages.gabriels.net & pix.idxre.com.
NoScript is not made to block the web page or images from those domains.
It is intended to block JavaScript from executing from those domains. And unless you have Allowed gabriels.net or idxre.com, then it is not running any JavaScript from there. If the images or whatever conent gabriels.net or idxre.com was serving relied on JavaScript, then in that case, NoScript would effectively block the content.

Re: Block "subdomain" scripts?

Posted: Sun Jan 17, 2010 9:01 pm
by Jojo999
I am not blocking (using adblock plus) any of the web links I pointed to. Sometimes, they are just slow to load.

So those links are not scripts. Any idea how they are being served, if not via a script?

I don't know scripting so maybe this is a dumb question:

Is it possible to have nested scripts or calls to external scripts? If so, does NS block these kind of things also if the parent is blocked?

Re: Block "subdomain" scripts?

Posted: Sun Jan 17, 2010 9:15 pm
by Giorgio Maone
Jojo999 wrote:So those links are not scripts. Any idea how they are being served, if not via a script?
IMG tags? IFRAMEs?
Jojo999 wrote:Is it possible to have nested scripts or calls to external scripts? If so, does NS block these kind of things also if the parent is blocked?
Yes and yes.