Results 1 to 4 of 4

Thread: Ip Grabber for Netscape with Java enabled code

  1. #1
    Join Date
    Jul 2005
    Location
    Serbia & Montenegro
    Posts
    71

    Default Ip Grabber for Netscape with Java enabled code

    Ip Grabber for Netscape with Java enabled code

    Code:
     <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    
    if ((navigator.appVersion.indexOf("4.") != -1) && (navigator.appName.indexOf("Netscape") != -1)){ 
    ip = "" + java.net.InetAddress.getLocalHost().getHostAddress();
    document.write("Your IP address is " + ip);
    }
    else {
    document.write("IP Address only shown in Netscape with Java enabled!");
    }
    //  End -->
    </script>

  2. #2
    Join Date
    Apr 2005
    Posts
    56

    Default

    Can this is work only in netscape ??? not in Internet Explorer ??

  3. #3
    Join Date
    Jul 2005
    Location
    Serbia & Montenegro
    Posts
    71

    Default HunTeRNet

    This script is only work in Netscape.
    Not for Internet Explorer !!!
    I don't use this script.

  4. #4
    Join Date
    Apr 2005
    Posts
    56

    Default

    Thanks !!

    I use this scipt in Netscape and tell u .. :) :)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •