getting the last url visited

Discussion in 'Javascript' started by Une Bévue, Mar 18, 2007.

  1. Une Bévue

    Une Bévue Guest

    i do have a page saying :

    index.html

    where the user could setup a color afterwards the urls becomes :

    index.html?color=maroon

    for example.

    obviously, in this page i have a menu linked to :

    another_page.html

    and i'de like, after the user entered in "another_page.html" to retrieve
    :

    ?color=maroon

    i have tested history however Firefox 2 says :

    uncaught exception: Permission denied calling the method History.item

    the same for history.previous

    does a workaround exists ?
    Une Bévue, Mar 18, 2007
    #1
    1. Advertising

  2. Une Bévue

    Une Bévue Guest

    Une Bévue <> wrote:

    > ?color=maroon


    after i understood referrer takes TWO r, i get it using
    document.referrer

    ;-)
    Une Bévue, Mar 18, 2007
    #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. tdi1686
    Replies:
    2
    Views:
    363
    Kevin Spencer
    Aug 13, 2003
  2. Anita C
    Replies:
    1
    Views:
    2,644
    Hermit Dave
    Dec 23, 2003
  3. Drifter
    Replies:
    4
    Views:
    119
    Ray at
    Nov 20, 2003
  4. ~greg
    Replies:
    5
    Views:
    122
    ~greg
    Apr 27, 2005
  5. Replies:
    1
    Views:
    127
Loading...

Share This Page