Author Archives: dougt

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 | Tagged , , , | 5 Comments

ncat ascii art

config.status: creating config.h (  )   /\   _                 ( \ |  (  \ ( \.(               )                      _____ \  \ \  `  `   ) \             (  ___                 / _   \ (_`    \+   . x  ( .\            \/   \____-----------/ (o)   \_ - .-               \+  ;          (  O                           \____ )        \_____________  `              \  / (__                +- .( -'.- <. [...]
Posted in General | Tagged , | Leave a comment

Fast Flash in Fennec

For the last few days, we have been making Flash fast in Fennec. Our situation in Fennec is that we have a hidden browser element that contains the flash object/embed element. When a paint needs to happen, we draw whatever the plugin wants to draw into a canvas or sent of canvas elements. These canvas [...]
Posted in General, mozilla | 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 | Tagged , , | 5 Comments