How to get the url of previous page on click of browser back button
Unanswered
Somali posted this in #help-forum
SomaliOP
Hi All,
I need to get the url from which the browser back button has been clicked
Suppose I am in page http://jchou.apple.com/kb/index?page=search&q=ipod&src=support_site.kbase.search.advanced having some href which is taking me to new page e.g http://jchou.apple.com/kb/HT1201
Now in page :http://jchou.apple.com/kb/HT1201 I clicked browser back button and came to previous page.
Here I have to get the information that from which page browser back button has been clicked.
I tried to use document.referrer but I didn't get the url of the page (where browser back button is clicked).
Please help me.
Thanks in advance.
I need to get the url from which the browser back button has been clicked
Suppose I am in page http://jchou.apple.com/kb/index?page=search&q=ipod&src=support_site.kbase.search.advanced having some href which is taking me to new page e.g http://jchou.apple.com/kb/HT1201
Now in page :http://jchou.apple.com/kb/HT1201 I clicked browser back button and came to previous page.
Here I have to get the information that from which page browser back button has been clicked.
I tried to use document.referrer but I didn't get the url of the page (where browser back button is clicked).
Please help me.
Thanks in advance.
7 Replies
Rose-breasted Grosbeak
It's not possible, if the domain changes for obvious privacy reasons
How do you think that?
I think it is possible.
who can help me?
Netherland Dwarf
SomaliOP
i implemented these guide but not working