Page 1 of 1

Site not properly working even with all scripts enabled

Posted: Tue Sep 07, 2010 8:25 am
by bozho
The website of one of the largest newspapers in my country is not quite working even though I have enabled all scripts on it. For example on this page http://dnevnik.bg/bulgaria/2010/09/05/9 ... delo_ne_e/ there should be a picture, but it is missing if NoScript is enabled. Other javascripts don't work as well. What I checked:

- it is noscript that's causing the problem - I disabled it and the site is working fine. Other people with firefox (without noscript) say it's working, and it is in all other browsers.
- the whole page, with all 7 domains from which it uses scripts, is allowed by me.
- even when I disable XSS sanitation, the problem persists.
- I'm using NoScript 2.0.2.5

Re: Site not properly working even with all scripts enabled

Posted: Tue Sep 07, 2010 8:39 am
by Giorgio Maone
The problem is caused by the site serving some scripts with the wrong content-type header:

Code: Select all

[NoScript] Blocking cross site Javascript served from http://login.economedia.bg/minc/b=lib&f=jquery.pack.js,add.js,tickbox.js&v=17 with wrong type info text/css and included by http://dnevnik.bg/bulgaria/2010/09/05/955912_godina_sled_potuvaneto_na_ilinden_sudebno_delo_ne_e/
This should be really fixed by the developer of that site, but you can work-around by adding "login.economedia.bg" (without quotes) to your noscript.inclusionTypeChecking.exceptions about:config preference.

[EDIT]
this had already been explained here: http://forums.informaction.com/viewtopic.php?f=7&t=4807

Re: Site not properly working even with all scripts enabled

Posted: Tue Sep 07, 2010 10:13 am
by bozho
Thank you for the explanation.