Firefox now lets you access the accelerometer of your laptop

Advertisements

Many modern Macbooks and Thinkpads contain the accelerometer that detects when they are being dropped using the sensors inside them. They can then quickly secure the hard drive read/write head so as not to damage the disc. Well Firefox 3.6 has a new API that now lets you use the accelerometer. So now when you tilt your laptop while browsing in Firefox 3.6, the page will just remain still. We have this video from Hacks Mozilla.

firefox accelerometer video

You can also have a look at more orientation demos such as Firefox Web page moving, Firefox logo moving and a Web page following the computer orientation. Daniel Glazman a developer has written some more demos which you can find here.

You can find the entire API for accessing device accelerometer using Firefox 3.6 here.



October 14th, 2009 Written by The Digitizor    

Free subscription: Subscribe RSS feed or get daily tips in your email
* Click confirmation link sent in email * Don't see the email? check spam folder

  Facebook 


Liked it? Share...   Digg It!   Submit to Del.icio.us   Submit to Reddit   Stumble   Submit to Identica   Slashdot It   Send to a friend via email


blog comments powered by Disqus

Trackbacks