Hewlett-Packard web site broken with NoScript

Ask for help about NoScript, no registration needed to post
johndoe445566
Posts: 2
Joined: Sun Jun 24, 2012 7:30 pm

Hewlett-Packard web site broken with NoScript

Post 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)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Hewlett-Packard web site broken with NoScript

Post 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).
======
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:13.0) Gecko/20100101 Firefox/13.0.1
johndoe445566
Posts: 2
Joined: Sun Jun 24, 2012 7:30 pm

Re: Hewlett-Packard web site broken with NoScript

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
User avatar
therube
Ambassador
Posts: 7991
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Hewlett-Packard web site broken with NoScript

Post 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).
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:15.0) Gecko/20120625 Firefox/15.0a2 SeaMonkey/2.12a2
Post Reply