[SOLVED] XSS-Protection blocks zattoo.com livestreaming

Ask for help about NoScript, no registration needed to post
Mad55
Posts: 4
Joined: Wed Oct 10, 2012 12:40 pm

[SOLVED] XSS-Protection blocks zattoo.com livestreaming

Post by Mad55 »

If I access zattoo.com and try to view a channel, I recieve an error. Log tells:

Code: Select all

[NoScript] Blocking cross-site Javascript served from https://jquery-json.googlecode.com/files/jquery.json-2.2.min.js with wrong type info application/x-elc, attachment; filename="jquery.json-2.2.min.js" and included by http://zattoo.com/view#
I tried to exclude this query from XSS checking by adding:

Code: Select all

^https://jquery-json\.googlecode\.com/files/*
But this did not work.

Any suggestions?
Last edited by Mad55 on Fri Oct 12, 2012 6:19 am, edited 1 time in total.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: XSS-Protection blocks zattoo.com livestreaming

Post by Thrawn »

Ick, this again. This site is using a very BAD method of serving up their JavaScript: they are linking to a code repository, where anyone could submit any kind of nasty they want. And the problem occurs because that repository correctly reports to the browser that this file is meant to be downloaded as an attachment, not included in the page, and NoScript respects that.

There is a workaround in this thread. A similar issue occurred in http://forums.informaction.com/viewtopi ... 34&p=39429.

You may also want to report this to the zattoo webmaster.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0.1
Mad55
Posts: 4
Joined: Wed Oct 10, 2012 12:40 pm

Re: XSS-Protection blocks zattoo.com livestreaming

Post by Mad55 »

Thanks for the links, they solved the issue for me.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Post Reply