Bugs :  K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.  
Browser identification broken or doesn't save its
Posted by: Thunderball
Date: October 31, 2001 10:45AM

Greetings!

I have a page with the following code on it:

if((navigator.appName.indexOf("Netscape") != -1) || (navigator.appVersion.indexOf("MSIE 5.0") != -1)) {
alert("These pages utilize Cascading Stylesheets extensively. Internet Explorer 5.5 (or another fully CSS Standards compliant browser) is required in order for these pages to be displayed correctly.");
location.replace("index2.html");
}
Using the latest K-Meleon (0.6), no matter what I choose in the browser identification, or enter in the config files, the page refuses to load. (The page loads fine in Explorer 5.5, as it should.)

I expected the page to load using a MSIE 5.5 browser identification in K-Meleon, but no, so I hope this bug can be fixed.

/Robert

Options: ReplyQuote
Re: Browser identification broken or doesn't save
Posted by: Andrew
Date: October 31, 2001 01:10PM

Robert,

Can you give us the URL for the page so that we can test it?

Andrew

Options: ReplyQuote
Re: Browser identification broken or doesn't save
Posted by: Thunderball
Date: October 31, 2001 02:54PM

It's on an intranet, unfortunately, but the simplest way really, is to just cut my code from above, and put it in script blocks in a html document and see what happens... if you get the popup alert while identifying as MSIE 5.5, you got the bug.

/Robert

Options: ReplyQuote
Re: Browser identification broken or doesn't save
Posted by: Andrew
Date: October 31, 2001 03:24PM

Robert,

OK. I'll give that a test and let you know what we find.

Andrew

Options: ReplyQuote
Re: Browser identification broken or doesn't save
Posted by: Brian
Date: October 31, 2001 04:27PM

FYI, Opera is more CSS compliant than IE (and of course Mozilla is most compliant of all). Calling IE a fully standards compliant browser is very funny indeed.

Options: ReplyQuote
Re: Browser identification broken or doesn't save
Posted by: Jeff
Date: October 31, 2001 04:35PM

The browser identification only changes the useragent tag sent to servers, it will not alter any internal javascript identifiers.

-- Jeff

Options: ReplyQuote
Re: Browser identification broken or doesn't save
Posted by: Robert Allerstorfer
Date: October 31, 2001 04:53PM

Robert,

if you change your browser sniffing JavaScript to something like

<script language="JavaScript" type="text/javascript"><!--
document.write(navigator.userAgent);
//--></script>

you will see that the User-Agent string K-Meleon sets *does* work. IMO, the navigator.appName is not a good way to identify browsers.

rob.

Options: ReplyQuote
Re: Browser identification broken or doesn't save
Posted by: Thunderball
Date: October 31, 2001 09:23PM

Thank you all for your tips, I will try to use userAgent instead!

(My assumption was that K-Meleon changed all the id settings, and that is why I filed the bug.)

And Brian, I'm sorry, but having tested a number of style sheet properties on our intranet pages here (99% actually) I must say that Explorer renders CSS much better than Mozilla (which STILL doesn't recognize 100% of the standardized set, no matter what they say).

/Robert

Options: ReplyQuote
Re: Browser identification broken or doesn't save
Posted by: Rowell
Date: November 01, 2001 04:21AM

Hmm, according to <a href="http://www.xs4all.nl/~ppk/css2tests/intro.html">this</a>; page, Mozilla/Netscape 6> beats IE on Windows hands down.

Options: ReplyQuote
Re: Browser identification broken or doesn't save
Posted by: Brian
Date: November 01, 2001 07:57PM

perhaps you're not really using standard CSS?

Options: ReplyQuote
Re: Browser identification broken or doesn't save
Posted by: Michael Kallas
Date: November 05, 2001 11:06AM

I think the whole idea of browser recognition is _severely broken_.
Web was thought as a means to tear down those incompatibilities that
appear everywhere in computer history.
So, checking your code for standard is the much better way (think of
w3 validator). If then, something doesn't get displayed right, that's the browsers
problem.
Ah, yes, and standard doesn't mean "IE gets this correctly" ;-)
http://www.anybrowser.org/campaign

Options: ReplyQuote
Re: Browser identification broken or doesn't save its
Posted by: ignorantoldman
Date: April 03, 2002 04:00PM

Andrew, after reading the above, I feel I have a similar situation. But, as my name implies, I am new to all of this and learning slowly. Is there a way for me to cure the message "Incompatible browser version! Your confuguration has been detected as follows: browser = netscape, version= 5.0, browser code name=mozilla,user agent=mozilla/4.0 (compatible: MSIE 5.5; Windows NT), javascript=1.4

I have worked with the "identify browser as" feature in privacy section ... but the only thing that changes is the user agent line.

I am using K-Meleon Version 0.6 build 547 on windows xp home version. My guess is that I have to do something with the java stuff, but I dont go by this name for nothing!

I have been considering uninstalling the java and installing netscape 4.74 (along with its java engine - making the assumption that its in there) and seeing if the java engine from that product used in k-meleon will solve my problem. any insights?

thanks

i really like this browser!
David

Options: ReplyQuote
Re: Browser identification broken or doesn't save its
Posted by: Andrew
Date: April 03, 2002 05:09PM

David,

What happens when you try the site after changing the browser identification?

Andrew

Options: ReplyQuote


K-Meleon forum is powered by Phorum.