Arusekk

javascript accelerometer [security breach]

Jul 7th, 2017
1,795
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.29 KB | None | 0 0
  1. data:text/html;charset=UTF-8,<div style="position:fixed;background:red;border-radius:50%" id=aha></div><script>window.addEventListener("devicemotion",function(e){s=aha.style;a=e.acceleration;r=5*(10+a.z);s.width=s.height=2*r+"px";s.top=30*(20+a.y)-r+"px";s.left=30*(20+a.x)-r+"px"},!1)</script>
Advertisement
Add Comment
Please, Sign In to add comment