Skip to content

Instantly share code, notes, and snippets.

@liamg
Created August 27, 2014 22:04
Show Gist options
  • Save liamg/ce66039ac5516834b7a2 to your computer and use it in GitHub Desktop.
Save liamg/ce66039ac5516834b7a2 to your computer and use it in GitHub Desktop.
Javascript without alphanumeric characters
[][(!!+[]+'')[!+[]-~+[]-~+[]]+({}+[]+'')[-~+[]]+(!+[]+'')[-~+[]]+(!+[]+'')[+[]]][({}+[]+'')[!+[]-~+[]-~+[]-~+[]-~+[]]+({}+[]+'')[-~+[]]+([][+[]]+'')[-~+[]]+(!!+[]+'')[!+[]-~+[]-~+[]]+(!+[]+'')[+[]]+(!+[]+'')[-~+[]]+([][+[]]+'')[+[]]+({}+[]+'')[!+[]-~+[]-~+[]-~+[]-~+[]]+(!+[]+'')[+[]]+({}+[]+'')[-~+[]]+(!+[]+'')[-~+[]]]((!!+[]+'')[-~+[]]+(!!+[]+'')[!+[]-~+[]]+(!+[]+'')[!+[]-~+[]-~+[]]+(!+[]+'')[-~+[]]+(!+[]+'')[+[]]+'("'+([][(!!+[]+'')[!+[]-~+[]-~+[]]+({}+[]+'')[-~+[]]+(!+[]+'')[-~+[]]+(!+[]+'')[+[]]][({}+[]+'')[!+[]-~+[]-~+[]-~+[]-~+[]]+({}+[]+'')[-~+[]]+([][+[]]+'')[-~+[]]+(!!+[]+'')[!+[]-~+[]-~+[]]+(!+[]+'')[+[]]+(!+[]+'')[-~+[]]+([][+[]]+'')[+[]]+({}+[]+'')[!+[]-~+[]-~+[]-~+[]-~+[]]+(!+[]+'')[+[]]+({}+[]+'')[-~+[]]+(!+[]+'')[-~+[]]]((!+[]+'')[-~+[]]+(!+[]+'')[!+[]-~+[]-~+[]]+(!+[]+'')[+[]]+([][+[]]+'')[+[]]+(!+[]+'')[-~+[]]+([][+[]]+'')[-~+[]]+' '+(!!+[]+'')[!+[]-~+[]]+({}+[]+'')[-~+[]]+({}+[]+'')[!+[]-~+[]-~+[]-~+[]-~+[]]+(!!+[]+'')[-~+[]]+(!+[]+'')[+[]]+([][+[]]+'')[!+[]-~+[]-~+[]-~+[]-~+[]]+({}+[]+'')[-~+[]]+([][+[]]+'')[-~+[]])()+'')[+[]]+(!+[]+'')[!+[]-~+[]-~+[]]+(!!+[]+'')[!+[]-~+[]]+(!!+[]+'')[!+[]-~+[]]+({}+[]+'')[-~+[]]+'")')();
@liamg
Copy link
Author

liamg commented Aug 27, 2014

Works on Chrome (on pages loaded over http/https), untested everywhere else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment