0
Loonix

CSS/JS flaw in non-IE/netscape browsers

Recommended Posts

I'm using Opera (since it's far superior to anything else :P), and have to identify as MSIE to get the correct CSS code.

From the page source:

function itsMsie() {
if (browser == "Microsoft Internet Explorer")
ieVersion()
}

if ((browser == "Netscape") && (ver1>= 4)){
itsNetscape()
} else {
itsMsie()
}

Simply dropping function itsMsie() and go straight to ieVersion will solve it. The way it is now, only MSIE and netscape is served any CSS (and firefox, since it also identifies as netscape).

This has been bugging me for a while now, thought I'd finally mention it :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

0