Is it possible to detect a visitor's browsing history using JavaScript or PHP?
javascript, php
Solution
Unfortunately, this is possible this is possible.
You can apply a CSS rule to `a:visited` that has a background image for a PHP script.
Problem
I want to check if my site's visitors have visited another particular site before coming to mine. I know how to use JS and PHP to check to see (via referrer info) if the user has just come from that site to mine, but I would like to be able to detect if they have visited this site at any time before (not just immediately before coming to my site). Can this information be detected?