All of us trying to understand Web 2.0 have been through the painstaking task of reading pages and pages of conceptual text. Yet we often find ourselves debating and arguing over what the Web 2.0 is all about. James Snell seemed to have given a precise definition of Web 2.0 in a nutshell:
chmod 777 web
All it took was just three words to encapsulate the semantics of five pages. Way to go James!
Posted in Web, Web 2.0 | No Comments »
There seems to be no documentaion whatsoever for building Firefox extensions except for some good ol’ chaps who have put up brilliant tutorials on their weblogs (thanks guys). All I wanted to do was access the current windows DOM from within my extension. But for this trivial task I had to go to the extent of reading source code of various extensions )-:
One of the ways to access the DOM is as follows:
// Get the content of the currently displaying window
var win = window.content;
// Access the document within the window as follows
win.document.getElementById(‘xyz’);
As easy as that.
Posted in Mozilla | 9 Comments »