Spyjax: Using a:visited to test your history
Spyjax can scare you, or excite you depending on what you want to do.
By using a simple JavaScript check on the CSS style on URLs, a script can work out if you have been there:
PLAIN TEXT
JAVASCRIPT:
function hasLinkBeenVisited(url) {
var link = document.createElement(’a');
link.href = url;
document.body.appendChild(link);
[...]
More: continued here

Leave a Reply
You must be logged in to post a comment.