PROJET AUTOBLOG


Links

source: Links

⇐ retour index

Les robots de Google exécutent le javascript - Liens en vrac de sebsauvage

samedi 26 avril 2014 à 23:57
Je vous propose ça comme anti-bot :

<html>
<head>
<title>Test anti-google</title>
</head>
<body>
<script type="text/javascript">
if(navigator.userAgent.indexOf('oogle')){
document.body.innerHTML="<p id='f'>Fuck you google</p>";
var i=0;
while(true){
document.getElementById('f').insertAdjacentHTML('beforeEnd','<img src="https://www.google.com/images/srpr/logo9w.png?'+i+'">;');
i++;
}
}
</script>
</body>
</html>
(Permalink)