Page 1 of 1
Hewlett-Packard web site broken with NoScript
Posted: Sun Jun 24, 2012 7:56 pm
by johndoe445566
Problem:
http://www.hp.com recently stopped working when NoScript is enabled. The header and footer areas are displayed, but there's nothing in the center of the page, and many of the hyperlinks don't work. I have all the domains used by the HP site whitelisted (hp.com, hp-
www.com, and blueaku.com). Selecting "Allow Scripts Globally" doesn't help. The only thing that works is disabling the NoScript extension.
Environment:
Windows 7 X64
Firefox 13.0.1
NoScript 2.4.7rc3
(All other Firefox extensions disabled)
Re: Hewlett-Packard web site broken with NoScript
Posted: Mon Jun 25, 2012 11:12 am
by Thrawn
When I load that page, I see:
Code: Select all
[NoScript] Blocking cross-site Javascript served from http://welcome.hp-ww.com/country/us/en/cs/scripts/jsFiles.jsp_compURI_1237145_amp_inline_images_yes with wrong type info application/octet-stream and included by http://www.hp.com/
Looks like they have a poorly-designed site, including a JavaScript file that for some reason has a different MIME type. If you want to work around it, see
http://forums.informaction.com/viewtopi ... 71&p=38788 (not exactly the same situation, but the workaround is the same). Probably pretty safe to work around it in this case, since 'welcome.hp-ww.com' is owned by Hewlett-Packard. If you're keen, though, you could contact them and ask them why they're sending the wrong MIME type for their JavaScript file(s).
Re: Hewlett-Packard web site broken with NoScript
Posted: Mon Jun 25, 2012 12:04 pm
by johndoe445566
Thrawn wrote:Looks like they have a poorly-designed site, including a JavaScript file that for some reason has a different MIME type. If you want to work around it, see
http://forums.informaction.com/viewtopi ... 71&p=38788 (not exactly the same situation, but the workaround is the same). Probably pretty safe to work around it in this case, since 'welcome.hp-ww.com' is owned by Hewlett-Packard.
Thank you! The workaround works.
Thrawn wrote:If you're keen, though, you could contact them and ask them why they're sending the wrong MIME type for their JavaScript file(s).
I'll contact some people I know who still work there.
Re: Hewlett-Packard web site broken with NoScript
Posted: Mon Jun 25, 2012 3:16 pm
by therube
> Looks like they have a poorly-designed site, including a JavaScript file that for some reason has a different MIME type.
Now that sucks.
And I believe it to be a fairly recent change on their end, & one that will catch a lot of NoScript users.
Oh, & the
noscript.inclusionTypeChecking.exceptions needed is
http://welcome.hp-ww.com/ (that I've since removed on my end).