Page 1 of 1

sony.de not shown correctly

Posted: Mon Jan 31, 2011 12:49 pm
by limes
Hi,

http://www.sony.de is not shown correctly (missing dynamic menu, search field), even if I enable "Allow Scripts Globally". If I disable the plugin, the page is shown complete.

I use NoScript 2.0.9.6 and FF 4.0 Beta 10.

Thanks, limes

Re: sony.de not shown correctly

Posted: Mon Jan 31, 2011 1:31 pm
by Giorgio Maone
It's a site bug:

Code: Select all

[NoScript] Blocking cross-site Javascript served from http://wep.sony-europe.com/tbn/odw/de/DE/2.0/?siteid=odw&btnid=null&catid=&subid= with wrong type info application/octet-stream and included by http://www.sony.de/section/home
They should serve JavaScript with its correct content type, i.e. "text/javascript" or "application/javascript".

As a work-around, you can add ".sony-europe.com" (without quotes, space-separated) to your noscript.inclusionTypeChecking.exceptions about:config preference.

Re: sony.de not shown correctly

Posted: Mon Jan 31, 2011 2:15 pm
by limes
Thanks for the workaround, it works! (Saves me to use a different browser...)

But: Why doesn't it work if I enable "Allow Scripts Globally"? Shouldn't it not disable JS-TypeChecking also?

Re: sony.de not shown correctly

Posted: Mon Jan 31, 2011 2:22 pm
by Giorgio Maone
limes wrote:But: Why doesn't it work if I enable "Allow Scripts Globally"? Shouldn't it not disable JS-TypeChecking also?
No, that feature has more to do with XSS prevention, which is guaranteed even in "Allow scripts globally" mode.