Page 1 of 1

[Resolved] NoScript not working on some sites

Posted: Thu Aug 02, 2012 5:31 am
by bear
I try going to www.hp.com site in Firefox and the main image does not display and the three top main menus do not roll down. If I disable NoScript, then everything appears and works as normal. If I enable NoScript and "allow scripts globally" it still does not work. What else can I turn off, whitelist or otherwise change in NoScript such that this site works with it?

Running v2.5

Re: NoScript not working on some sites

Posted: Thu Aug 02, 2012 7:31 am
by Giorgio Maone
Thanks for reporting.

The problem is their secondary web server which is misconfigured, serving JavaScript files with the wrong content type (should be text/javascrpt or application/x-javascript):
Error Console wrote: [NoScript] Blocking cross-site Javascript served from http: //welcome.hp-ww.com/country/us/en/ ... images_yes with wrong type info application/octet-stream and included by http://www.hp.com/
Work around: add ".hp-ww.com" to your noscript.inclusionTypeChecking.exceptions about:config preference, which should become

Code: Select all

https://scache.vzw.com/ http://cache.vzw.com .sony-europe.com .amazonaws.com lesscss.googlecode.com/files/ .hp-ww.com
(it will be made the default in next release).

Re: NoScript not working on some sites

Posted: Thu Aug 02, 2012 9:21 am
by nagan
This might sound stupid. But I am not able to see the error console in Tools>> . Also in about config it is devtools.errorconsole.enabled;true :roll: :roll:

Re: NoScript not working on some sites

Posted: Thu Aug 02, 2012 12:26 pm
by Giorgio Maone
nagan wrote:This might sound stupid. But I am not able to see the error console in Tools>> . Also in about config it is devtools.errorconsole.enabled;true :roll: :roll:
They moved it into the "Web Developer" submenu long ago.
You can still use CTRL+SHIFT+J, though.

[Resolved] Re: NoScript not working on some sites

Posted: Fri Aug 03, 2012 1:18 am
by bear
Giorgio Maone wrote:Thanks for reporting.

The problem is their secondary web server which is misconfigured, serving JavaScript files with the wrong content type (should be text/javascrpt or application/x-javascript):
Error Console wrote: [NoScript] Blocking cross-site Javascript served from http: //welcome.hp-ww.com/country/us/en/ ... images_yes with wrong type info application/octet-stream and included by http://www.hp.com/
Work around: add ".hp-ww.com" to your noscript.inclusionTypeChecking.exceptions about:config preference, which should become

Code: Select all

https://scache.vzw.com/ http://cache.vzw.com .sony-europe.com .amazonaws.com lesscss.googlecode.com/files/ .hp-ww.com
(it will be made the default in next release).
The workaround works perfectly for me. Thanks very much!!!

Re: NoScript not working on some sites

Posted: Fri Aug 03, 2012 12:35 pm
by therube
(
Earlier thread for reference, Hewlett-Packard web site broken with NoScript.

I wrote to them back in June. Explained to them what they were doing wrong. And you can see how they responded - other then emailing back to me.
)