Tag Archives: device api

Desktop Notifications

This is a feature that may come to a browser some day.  I am interesting in your thoughts: Desktop Notifications Desktop notifications allow a web page to notify the user using system level services, such as Growl, in a clean, safe, and easy to use manner. The code is very simple: navigator.notification.notify("Another Desktop Notification", "Check [...]
Posted in General, mozilla | Also tagged , , , | 52 Comments

Labyrinth Game in the browser

A few months ago, I mentioned the game Labyrinth and how I wanted this to work in the browser. Syd Lawrence took up the cause and put together a cool implementation. Play it here. You must be running Firefox 3.6 RC or better. This uses the new orientation events added to Firefox 3.6. Syd also [...]
Posted in mozilla | Also tagged , , | 5 Comments

Geolocation support in add-ons

Today, I checked-in a set of changes that will allow mozilla addons the ability to acquire the location information. It is pretty simple to do: geolocation = Cc["@mozilla.org/geolocation;1"] .getService(Ci.nsIDOMGeoGeolocation); geolocation.watchPosition(successCallback); In this trivial example, the object |geolocation| is fully compatible with the W3C’s geolocation object that exists under the navigator object in web content. |successCallback| [...]
Posted in mozilla | Also tagged , | 5 Comments

Orientation Update…

A few days ago, I blogged about orientation support in Firefox.  I am happy to report that linux patches landed over the weekend.  (We also have Window Mobile and Thinkpads running Windows patches in the review process.) If you a linux laptop and have a few minutes, please download one of the Firefox Trunk nightly [...]
Posted in mozilla | Also tagged , , | 4 Comments