Need to get the URL a user is viewing

Discussion in 'HTML & Website Design' started by chtnverma, Aug 4, 2010.

  1. #1
    Hi all

    I have a relatively easy issue and need your suggestions..

    I am to give a demo where I identify certain details about a particular webpage viewed by the user (who will use my machine). For the system I've built using Php and Java, I just need the URL that user is viewing. Till now I have been feeding the URL manually but now need to have an automated way to get the URL of all pages the user opens. The opened websites are like www.youtube.com (and obviously not owned by me) :)

    I tried placing a Squid proxy and looking at the received requests but I get many requests other than the URL too and the proxy has no way of identifying which one corresponds to the URL and which ones are sent by other stuff in the page.

    Since it is my machine that I'll be using for the demo, I am allowed to have javascripts on my browser (Firefox). I need some advice on any javascripts that may help me do t
    this. Appreciate any help :)

    Thanks! C
     
    chtnverma, Aug 4, 2010 IP
  2. chtnverma

    chtnverma Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I checked Greasemonkey. The scripts available there are capable of handling much difficult issues but I didn't find any which I could use. If somebody could direct me to something that may be useful, that would be great too! :)
     
    chtnverma, Aug 4, 2010 IP