Jonathan’s Page: Visitors’ Browser

©1997-1998 Jonathan Ah Kit
(ahkitj@usa.net)

It can be possible to display to the visitor what browser they’re using. This isn’t hacking in the way that this method of determining someone’s browser has been for years (at least as far as I know since the HTTP/1.0 standard was released). So if you happen to be the GeoCities person deleting pages that violate the Page Content Guidelines, it’s okay if this page is deleted.

The “JavaScript Alternative” script will also tell the user where he found a link to your page, unless they typed your page’s URL in manually. This will appear after the word “from”. But sorry, I don’t know who wrote this nice little JavaScript gem if you’re wondering that.

NB: You need the GeoGuide activated on the page you want the visitor’s browser name to be shown. Otherwise, nothing will show.

NB: For the “JavaScript Alternative”, you must copy it to, and paste from, the clipboard as is.

User’s Web Browser JavaScript Alternative
Source Code <!--#echo var="HTTP_USER_AGENT"-->
<!-- Where And What Script -->
<SCRIPT LANGUAGE="JavaScript">
<!--
    var where = document.referrer
    var name = navigator.appName
    var vers = navigator.appVersion
    document.write("<font face=\"Comic Sans MS\" COLOR=\"#00ffff\">You came here from <A href=\""+where+"\">"+where+"</a> with <font color=\"#ff6a6a\">"+name+" "+vers+"</font>")
    // --> </SCRIPT>
Effect Mozilla/5.0