Skip to content

Instantly share code, notes, and snippets.

@honzajavorek
Created January 15, 2012 03:41
Show Gist options
  • Save honzajavorek/1614189 to your computer and use it in GitHub Desktop.
Save honzajavorek/1614189 to your computer and use it in GitHub Desktop.
Detektor prasat
<!doctype html>
<html>
<head>
<title>Detektor prasat</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
</head>
<body>
<a href="http://www.youporn.com">&nbsp;</a>
<a href="http://www.redtube.com">&nbsp;</a>
<a href="http://www.pornhub.com">&nbsp;</a>
<a href="http://www.freefoto.cz">&nbsp;</a>
<a href="http://www.freevideo.cz">&nbsp;</a>
<a href="http://youporn.com">&nbsp;</a>
<a href="http://redtube.com">&nbsp;</a>
<a href="http://pornhub.com">&nbsp;</a>
<a href="http://freefoto.cz">&nbsp;</a>
<a href="http://freevideo.cz">&nbsp;</a>
<script>
$('a').hide();
if ($('a:visited').length) {
alert('Jsi prase!');
} else {
alert('Nejsi prase.');
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment