Created
May 5, 2012 01:43
-
-
Save sanrodari/2599022 to your computer and use it in GitHub Desktop.
Para poner un pass ficti a blogger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aca va el contenido | |
<script> | |
document.write("\<script src='http://code.jquery.com/jquery-latest.min.js' type='text/javascript'>\<\/script>"); | |
</script> | |
<script> | |
$(function(){ | |
$('#content-wrapper').hide(); | |
var autenticado = false; | |
while(!autenticado){ | |
var pass = prompt('ingrese el pass'); | |
if(pass === 'secreto'){ | |
autenticado = true; | |
} | |
} | |
$('#content-wrapper').show(); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment