Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you access browser history?

Some e-Marketing tools claim to choose which web page to display based on where you were before. That is, if you've been browsing truck sites and then go to Ford.com, your first page would be of the Ford Explorer.

I know you can get the immediate preceding page with HTTP_REFERRER, but how do you know where they were 6 sites ago?

like image 516
Danimal Avatar asked Sep 07 '08 21:09

Danimal


People also ask

Can you see browser history?

Open the Google Chrome Internet browser. icon. In the drop-down menu that appears, select History and shown in the image. The page that opens contains your device's history.

Where should you click to access the browser history?

On a Windows PC, you can find your Chrome browser's search history by clicking on the three vertical dots in the upper right corner of your screen | History | History. A full screen of your search history will open in another tab.


2 Answers

Javascript this should get you started: http://www.dicabrio.com/javascript/steal-history.php
There are more nefarius means to: http://ha.ckers.org/blog/20070228/steal-browser-history-without-javascript/
Edit:I wanted to add that although this works it is a sleazy marketing teqnique and an invasion of privacy.

like image 149
UnkwnTech Avatar answered Sep 22 '22 23:09

UnkwnTech


Unrelated but relevant, if you only want to look one page back and you can't get to the headers of a page, then document.referrer gives you the place a visitor came from.

like image 37
heymatthew Avatar answered Sep 19 '22 23:09

heymatthew