Skip to content

Instantly share code, notes, and snippets.

@okj579
Last active September 27, 2018 09:50
Show Gist options
  • Save okj579/5104f5ac2cc88dc909710ddf74eef22e to your computer and use it in GitHub Desktop.
Save okj579/5104f5ac2cc88dc909710ddf74eef22e to your computer and use it in GitHub Desktop.
var esLevel = function(){try{return eval('(x=>6)()')}catch(e){return Array.isArray?5:3}}();
(function(k,o,n,a,m,i){addEventListener('keydown',function(e){e.which!=k[o]?o=0:++o==k.length&&n()})})([38,38,40,40,37,39,37,39,66,65],0,function(){
// Do something
});
(function(j,Q,u,e,r,y){if(j[u])return r(j[u]);y=Q.createElement('script');y.onload=function(){r(j[u].noConflict(true))};y.src=e;Q.head.appendChild(script)})
(window,document,'jQuery','https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js',function($){
// $ available here
});
(function(k,o,n,a,m,i){addEventListener('keydown',function(e){e.which!=k[o]?o=0:++o==k.length&&(i=n.createElement(a),i.style=m,n.body.appendChild(i))})})([38,38,40,40,37,39,37,39,66,65],0,document,'div',"background:url(//bit.ly/2npNj1S);position:fixed;left:0;right:0;bottom:0;height:128px;z-index:999999");
(function(k,o,n,a,m,i){n.keydown(function(e){e.which!=k[o]?o=0:++o==k.length&&n.append(a)})})([38,38,40,40,37,39,37,39,66,65],0,$('body'),'<div style="background:url(//bit.ly/2npNj1S);position:fixed;left:0;right:0;bottom:0;height:128px;z-index:999999">');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment