Change the Neocities Thumbnail


If this script works correctly, everyone should see this page, but the neocities screenshot bot will be redirected to another page :)

      
<!-- include jquery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>
// use ipify api to get the ip address
$.getJSON('https://api.ipify.org?format=json', function(data){
    // check if current ip is equal to one of the screenshot bots ip
    if (data.ip == "69.195.131.58" || data.ip == "66.85.74.162"){
        // replace the link below with the link you want the screenshot bot to redirect to
        window.location.replace("https://profilepicture.neocities.org/red.html"); 
    }
});
</script>
      
      

Site screenshot taken by bot:

site screenshot