Script for Browser Info

Discussion in 'Programming' started by John84, Oct 23, 2007.

  1. #1
    Hello,

    Need a little help finding a script that shows browser details similar to this tool. Info I am looking to display is...

    IP Address
    Location
    ISP
    Browser
    Operating System
    Javascript Enabled
    Cookies Enabled
    Java Enabled
    Language

    ...any help in this matter would be very much appreciated.

    Thanks,

    John
     
    John84, Oct 23, 2007 IP
  2. neelesh

    neelesh Peon

    Messages:
    141
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can google for such a script. But, you can also write one. Make some searches and go forward
     
    neelesh, Oct 23, 2007 IP
  3. John84

    John84 Active Member

    Messages:
    1,288
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #3
    I have googled for this but I keep coming up with the iwebtool version which I cannot customize.

    If I could write the script myself I wouldn't be posting this thread :)
     
    John84, Oct 23, 2007 IP
  4. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #4
    
    Dim IP As String = Request.UserHostAddress
    Dim Browser As String = Request.Browser.Browser
    Dim OS As String = Request.Browser.Platform
    Dim Javascript As String = Request.Browser.JavaScript
    Dim cookies As String = Request.Browser.Cookies
    Dim Java As String = Request.Browser.JavaApplets
    Dim languages As String() = Request.UserLanguages
    Dim language As String = ""
    Dim i As Integer
    For i = 0 To (languages.Length - 1)
        language &= languages(i) & ", "
    Next
    
    Code (.Net):
    The above will give you a list of variables with the info in it. You will need to refer to a database using the IP to get the ISP and location.

    After that it depends if you are wanting to store them in a db, show them on screen etc
     
    AstarothSolutions, Oct 24, 2007 IP