Subject: Re: lynx-dev Java anyone?
To: [EMAIL PROTECTED]

>     * From: [EMAIL PROTECTED]
>     * Date: Tue, 21 Mar 2000 16:55:44 -0500

>If you use lynx or lynx.exe at all, you know that a growing number of
>Microsoft-mafia related web sites are introducing javascript links
>into their home pages that have no other purpose besides providing a
>URL to link to.  That being the case, it behooves any concerned java
>experts out there to consider how lynx might use java for applications
>appropriate to the text nature of lynx and to get around this blatant
>attempt to defeat lynx browsers.

I got curious, went back to one of these web sites, and used the '\'
key to get the source of the offending home page.  All you developers,
just have a look at this home-page source that causes lynx to give an
"unsupported URL scheme" message.  Notice the links in the addr[] array
below. If nothing else, from now on I am going to get the source for a
page with unsupported URL scheme messages, and use the information
directly.

===============================================================
<script language="JavaScript">
<!--
<!--
        var bn=navigator.appName;
        var vn=navigator.appVersion;
        var p1=null;
        var p2=null;
        var p3=null;
        var p4=null;
        var p5=null;
        var p6=null;
        var p7=null;
        var p8=null;
        // Animated menu stuff
        function off_img(loc,img) {};
        function on_img(loc,img) {};
        
        function gonow(p)
          {
          location=addr[p];
          };
        
        var addr = new Array(8);
        addr[1]=".";
        addr[2]="company/index.htm";
        addr[3]="news/index.htm";
        addr[4]="products/index.htm";
        addr[5]="support/index.htm";
        addr[6]="contact/index.htm";
        addr[7]="sitemap/index.htm";
        addr[8]="search/index.htm";
        menuimg = new Array(16);
        if ((bn!="Microsoft Internet Explorer") || (vn.substring(0,3)!="2.0"))
        {
        menuimg[1]= new Image (43,35);
        menuimg[1].src="images/skeleton/horizonbar/homenuwa.gif";
etc.
=====================================================================

Reply via email to