www.liberoquotidiano.it

Ask for help about NoScript, no registration needed to post
Laser12

www.liberoquotidiano.it

Post by Laser12 »

www.liberoquotidiano.it doesn't work even using 'Temporarily allow page"
Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: www.liberoquotidiano.it

Post by therube »

Possibly related to XSS issues from googlecode?
But disabling the XSS settings does not look to rectify the problem?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120423 Firefox/13.0a2 SeaMonkey/2.10a2
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: www.liberoquotidiano.it

Post by Giorgio Maone »

These morons are using googlecode.com (which is a code repository, where anyone can check in arbitrary and possible malicious JavaScript) like a CDN, to spare some cents on their bandwidth bill:

Code: Select all

[NoScript] Blocking cross-site Javascript served from http://lesscss.googlecode.com/files/less-1.0.30.min.js with wrong type info text/x-c++, attachment; filename="less-1.0.30.min.js" and included by http://www.liberoquotidiano.it/
As you can see, Google Code states clearly that the file is meant to be downloaded as an attachment, not executed as a JavaScript include.

Anyway, if they refuse to fix their idiocy, you can work around by adding lesscss.googlecode.com to your noscript.inclusionTypeChecking.exceptions about:config preference (space-separated).
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: www.liberoquotidiano.it

Post by Thrawn »

Giorgio Maone wrote:using googlecode.com (which is a code repository, where anyone can check in arbitrary and possible malicious JavaScript) like a CDN, to spare some cents on their bandwidth bill.
Uh, oh...sounds a bit like getting all of your drinking water from the pond at the local park...
you can work around by adding lesscss.googlecode.com to your noscript.inclusionTypeChecking.exceptions about:config preference (space-separated).
NB ABE probably can't save you here, since their deliberately-included JavaScript could be compromised.
======
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 (Linux; U; Android 2.2.1; en-gb; GT-S5570 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: www.liberoquotidiano.it

Post by Giorgio Maone »

Notice that the exception mentioned in my previous message has eventually been included in recent NoScript versions.
Nonetheless, the practice of including JavaScript libraries from code repositories remains idiotic and dangerous.
Read here for more reasons.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: www.liberoquotidiano.it

Post by Thrawn »

Giorgio Maone wrote:Notice that the exception mentioned in my previous message has eventually been included in recent NoScript versions.

Nonetheless, the practice of including JavaScript libraries from code repositories remains idiotic and dangerous.
Read here for more reasons.
Er...is adding an exception for that a good idea? I mean, yeah, the site breaks without it, but OTOH, isn't allowing it inherently dangerous? Not just on liberoquotidiano, but on any site that might foolishly try the same trick? Better, I would think, to let sites like that break, and have users go digging around, find out about the sloppy coding, and make an informed decision about whether or not to trust their safety to these webmasters. Otherwise, I might decide to trust a site that I want to get working, oblivious to the fact that they're importing scripts that aren't under their control.
======
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 x86_64; rv:12.0) Gecko/20100101 Firefox/12.0
Post Reply