July 27, 2010 at 2:30 pm
· Filed under Interesting, Software Development
So yesterday evening, I started writing a Google Chrome extension for my company. The documentation was easy to find and I started simply creating a manifest file and using the example of pulling flickr pictures. Took me about 5 hours but I finally managed to get a decent working prototype working.
I am being told by people that I might get hate mail from Firefox users but at the moment, writing Chrome extensions in Javascript is much much easier than Firefox extensions.
Permalink
July 26, 2010 at 9:38 pm
· Filed under Reflections, Software Development
I think I can safely say that any future JS problems I might have, can very well be solved by Daniel Hall.
I was trying to create a Google Chrome extension for something at work and I wanted to link out of the pop up using standard href tags. This did not work so I tried attaching event handlers which resulted in the click method being called at bind time rather than at the event.
link.addEventHandler("click", callbackfunction(args));
What I did not know was that by passing arguments to the call back function, I was inherently calling it rather than binding a reference of it to the event handler. This was explained to me by Daniel, who I should add, is a very capable system administrator. And now JS expert.
Permalink