Mailinglist Archive: opensuse (4020 mails)

< Previous Next >
Re: [SLE] yet more web site problems (i think)
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Wed, 6 Oct 2004 00:50:50 +0200
  • Message-id: <200410060050.50579.andjoh@xxxxxxxxxx>
On Wednesday, 6 October 2004 00.33, peter Nikolic wrote:
> try " www.hellomoto.com" then pick the region they all seem to behave the
> same then downloads i get a second or 2 or the page then the standard M$
> Corp page cannot be found rubbish i know the page is there it flashes up
> but then gone same response with Konqueror set to say it's M$ ie al the
> versions give the same response , Is this the motorola site shutting
> Linux out of the frame as i believe it may be

yep

<code>
if (is_ie4 || is_ie4up || is_nav4up || is_nav4)
{
if (is_win)
{
//they have windows and are using a suitable browser
}
else if (is_mac)
{
//they have mac and are using a suitable browser
}
else {location =
"ZDisplayStaticTemplate-Start?templateName=platformerror"} // because they
don't have a supported platform
}
else {location =
"ZDisplayStaticTemplate-Start?templateName=browsererror"} //because they
don't have a supported browser
</code>

They accept ip4 or better, or netscape navigator 4 or better (or mozilla) but
only on windows or Mac, and they even specifically shut out opera

<code>
var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) &&
(agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) &&
(agt.indexOf('webtv')==-1));
</code>

which is nice of them, isn't it?

< Previous Next >
Follow Ups
References