Skip to content

Instantly share code, notes, and snippets.

@ppworks
Created April 15, 2016 00:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ppworks/639dd8b56bcf1c243421ecbd66b1506f to your computer and use it in GitHub Desktop.
Save ppworks/639dd8b56bcf1c243421ecbd66b1506f to your computer and use it in GitHub Desktop.
Annoy me
javascript:(function(){document.querySelector('#message-input').value%20=%20function()%20{%20var%20min%20=%2010;var%20range%20=%2020;%20function%20randomLengthChars(char)%20{%20var%20string%20=%20'';%20for%20(var%20i=0;%20i%20<%20min%20+%20(1%20+%20parseInt(Math.random()%20*%20range));%20i++)%20{%20string%20+=%20char;%20}%20return%20string;%20}%20return%20randomLengthChars('A')%20+%20randomLengthChars('E')%20+%20randomLengthChars('I')%20+%20randomLengthChars('H');%20}();})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment