-
Notifications
You must be signed in to change notification settings - Fork 1
/
whatyouvisit.html
29 lines (26 loc) · 1.04 KB
/
whatyouvisit.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>WhatYouVisit Demo</title>
<script type="text/javascript" src="whatyouvisit.js"></script>
</head>
<body>
<h1>WhatYouVisit</h1>
<p><a href="http://github.com/BryanH/whatyouvisit">Project Home</a></p>
<script type="text/javascript">
/*<![CDATA[*/
var more = {
"Humanized": "http://humanized.com",
"Azarask.in": ["http://azarask.in", "http://azarask.in/blog"]
};
var s = WhatYouVisit( more );
document.write( "<p><strong>Visited Sites:<\/strong> " + s.visitedSites() + "<\/p>" );
document.write( "<p><strong>Visits Digg?<\/strong> " + s.doesVisit( "Digg" ) + "<\/p>" );
document.write( "<p><strong>Visits Moon?<\/strong> " + s.doesVisit( "Moon" ) + "<\/p>" );
document.write( "<p><strong>All checked sites:<\/strong> " + s.checkedSites( ) + "<\/p>" );
/*]]>*/
</script>
</body>
</html>