URL redirection

Discussion in 'JavaScript' started by nabilabdoun, Jun 25, 2010.

  1. #1
    Dear,

    I just wondering how to get the real url of a url that redirect to other url.

    Thank you

    Best Regard
     
    nabilabdoun, Jun 25, 2010 IP
  2. bvraghav

    bvraghav Member

    Messages:
    123
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    33
    #2
    dude... please be more explicit... this post was plain humurous... :)
     
    bvraghav, Jun 28, 2010 IP
  3. nabilabdoun

    nabilabdoun Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Dear

    I have a link that contain a search button. When I give the necessary data and I press the search button, the data is displayed in the web page without change of the link written in the web browser. So they exist another links in the background and the essential link uses these links to display the data.

    How I can find the link that contains the data because I need to get these data from the website.
    Can you help me please?
    Thank you
    B.R.
     
    nabilabdoun, Jun 28, 2010 IP
  4. Houdas

    Houdas Well-Known Member

    Messages:
    158
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #4
    Do you need to do it in JavaScript? If not, you can use for example LiveHTTPHeaders Firefox extension to find the URL that is being called "in the background".
     
    Houdas, Jun 28, 2010 IP
  5. bvraghav

    bvraghav Member

    Messages:
    123
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    33
    #5
    hmm.... its a bit more clear now... but still not clear enough...
    it probably uses ajax... and you can get to know the url while you look at the html page source... there are firefox extensions (eg firebug) that can facilitate the job.

    if this does not help.. try posting the link of your url here...
     
    bvraghav, Jun 28, 2010 IP
  6. GFX_Lover

    GFX_Lover Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Looks like you're using AJAX or frames.
     
    GFX_Lover, Jun 29, 2010 IP