title: How to detect shake in iphone browser?
body: <p>There's questions about they're either old or don't give an answer.
  I'm not good at javascript, I'm alright at jQuery.</p>
  
  <p>How would I <code>do something</code> when a shake is detected in the iphone browser? I'm planning on changing the url and sending the user back to the 'library' page of the website when a shake is detected.</p>
  
  <p>From what I read, Android doesn't yet allow access to the accelerometer in the browser. Chrome for Android just came out last month though, and I'm not sure if it's supported in it yet, so I guess this question is just for the iPhone, and Android if anyone knows if it supports it yet. I'm assuming the same code would work for both.</p>