Accessing URL in Address Bar

Discussion in 'Javascript' started by Jon, Aug 22, 2003.

  1. Jon

    Jon Guest

    Is it possible to use client side scripting to retrieve the value that
    is typed into the address bar when the page is unloaded.

    As in...
    You are on page2.asp and you type "www.whatever.com" in the address
    bar

    can you retrieve the value of www.whatever.com from page2.asp before
    it unloads
     
    Jon, Aug 22, 2003
    #1
    1. Advertising

  2. Jon

    Lee Guest

    Jon said:
    >
    >Is it possible to use client side scripting to retrieve the value that
    >is typed into the address bar when the page is unloaded.
    >
    >As in...
    >You are on page2.asp and you type "www.whatever.com" in the address
    >bar
    >
    >can you retrieve the value of www.whatever.com from page2.asp before
    >it unloads


    No. You have absolutely no right to know where your visitor decides
    to go next. Browsers try to respect the customer's privacy.
     
    Lee, Aug 23, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    0
    Views:
    3,566
  2. John Hann
    Replies:
    0
    Views:
    6,116
    John Hann
    Aug 21, 2004
  3. Matt
    Replies:
    9
    Views:
    70,990
  4. axelman
    Replies:
    1
    Views:
    938
    bruce barker
    Jul 18, 2008
  5. Matt
    Replies:
    9
    Views:
    568
    kaeli
    Aug 23, 2004
Loading...

Share This Page