Page 1 of 1
forbid file allows scripts?
Posted: Mon May 04, 2009 3:52 pm
by Noscript_fan
Hello,
when I save
for example this website
http://chess-results.com/tnr21457.aspx? ... -1&wi=1000
to a file and then open the file in another tab, the animated ad gifs are gone.
"Scripts partially allowed, 1/2 (file://) | <Script>: 5 | <Object>: 0"
Then I choose from the Options button on the right "Forbid file". The info text is updated
"Scripts currently forbidden | <Script>: 3 | <Object>: 0"
But now the animated ads are visible on top and right sides. Is this a bug, or have I misunderstood something?
Thanks for a great product!
Re: forbid file allows scripts?
Posted: Mon May 04, 2009 4:36 pm
by therube
This same sort of thing just came up recently, let me see ...
(Didn't find the thread I was looking for, but ...)
Code: Select all
<!-- Start of Ad'LINK ADJ Tag for AdFRONT - CHESSRESULTS.COM-DE-TURNIER-MBR-T SIZE : 468x60,728x90 -->
<script>
if(typeof(adlink_randomnumber)=="undefined"){var adlink_randomnumber=Math.floor(Math.random()*10000000000)}
if(typeof(WLRCMD)=="undefined"){var WLRCMD=""}
if(typeof(adlink_tile)=="undefined"){var adlink_tile=1}else{adlink_tile++}
document.write('<scr'+'ipt language="JavaScript" src="http://ad.at.doubleclick.net/adj/chessresults.com/DE_TURNIER_MBR_T_1x1;'+WLRCMD+';sz=468x60,728x90;tile='+adlink_tile+';ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
</script>
<noscript>
<a href="http://ad.at.doubleclick.net/jump/chessresults.com/DE_TURNIER_MBR_T_1x1;sz=468x60,728x90;Tile=2;ord=1234567890?" target="_blank">
<img src="http://ad.at.doubleclick.net/ad/chessresults.com/DE_TURNIER_MBR_T_1x1;sz=468x60,728x90;Tile=2;ord=1234567890?" border="0">
</a></noscript>
<!-- End of Ad'LINK ADJ Tag for AdFRONT - CHESSRESULTS.COM-DE-TURNIER-MBR-T SIZE : 468x60,728x90 -->
So, if chess-results.com is Allowed, the site uses JavaScript to display the ad, but NoScript (by default) is blocking doubleclick.net, so the ads do not show.
If chess-results.com is not allowed, JavaScript is not used, instead the items within the <noscript> tags runs, which does then show the ads.
(Note you may need to manually refresh the page when toggling back & forth between Allowed & not.)
hmm. Not sure if what I just said is correct or not. (Someone will set me straight if not.)
Maybe it is more that the JavaScript version of doubleclick.net then uses JavaScript itself, & it is actually that which is blocked by virtue of doubleclick.net not being allowed.
Note that once you Allow doubleclick.net (& then manually refresh the page) the doubleclick.net ads are then actually served via 2mdn.net.
Re: forbid file allows scripts?
Posted: Mon May 04, 2009 7:28 pm
by Nan M
It resembles a discussion about frames for recaptcha needing explicit recaptcha permission that I wish I had time to find right now. I think it may have been in a nagan discussion and I don't think Giorgio contributed an answer.
Got to go.
Re: forbid file allows scripts?
Posted: Wed May 06, 2009 1:02 pm
by Noscript_fan
Thanks for the replies. I noticed that I have also in Firefox options checked "Load images automatically" and in the exceptions I have three sites, ad.at.doubleclick.net, ad.yieldmanager.com, adserving.cpxinteractive set with status "Blocked". These are the sites where the animated gifs come from, I guess. Still they are not blocked.
I don't know if there is something wrong with Noscript or Firefox or my settings.
Re: forbid file allows scripts?
Posted: Wed May 06, 2009 3:28 pm
by therube
I just tried ad.at.doubleclick.net & it worked fine for me.
Add it as a block, force refreshed the page, & it no longer showed.
?
Note that if you happened to have doubleclick.net Allowed, you would be served a Flash ad that (starts out) from m1.emea.2mdn.net.
As a test, create a new Profile, add ad.at.doubleclick.net as a block & see what happens.
Re: forbid file allows scripts?
Posted: Wed May 06, 2009 4:29 pm
by Guest
I have ad.at.doubleclick.net as blocked in firefox tools, options, tools, load images automatically, exceptions.
When I open the page in firefox, no ads are shown whether I allow or forbid scripts. That seems to work right.
When I save the page in a file and open the file in another tab, the behaviour is different. When I choose "forbid file" from
noscript options, the ads are shown, even though the ad website is still blocked.
Shouldn't the behaviour be the same whether I open a web site or a file? It's not really a big problem, but I wouldn't like to see the ads even offline.
Re: forbid file allows scripts?
Posted: Wed May 06, 2009 5:00 pm
by therube
Now that's interesting.
And there's more too.
If you saved the page with 'Web Page, HTML only' (rather then 'Web Page, complete') then the ads are blocked.
When you saved the page (Web Page, complete) the ads are stored & being served locally (from file://). Suppose that the Image Manager is not affecting file:// ?