Archive for the 'JavaScript' Category

Firefox Toolbar Development

Thursday, November 20th, 2008

For anyone working on a firefox toolbar/add-on here is an important tip. I have found that if I name my preferences manager (which is based off Components.interfaces.nsIPrefService) with the same name as another toolbar is using (specifically, another one that I built) the last one executed will retain the ability to use its preferences. In other words, the original one, because it has the same name, gets overwritten or re-used and loses its connection. I figured that since it gets instantiated on its own that it would not be stored in the same memory location, but since it definitely was the problem during my simultaneous development of two toolbars I can only conclude that it is global and has visibility across toolbars.

What does this mean? This means you can access the preferences of other toolbars. You can even check to see if the value is available before you use it (using a getPrefType call). This seems like a really big problem giving the open-source nature of the plugins and the security used for Yahoo!, Facebook or StumbleUpon toolbars. I don’t plan on hacking them anytime soon, but it sounds feasible given this architecture.

RegEx Tester

Wednesday, August 20th, 2008

I have been working with Regular Expressions lately and this site is SO handy for testing your expressions quickly.

http://www.regextester.com/

Gotta love it.

We’ve got something here…

Wednesday, October 18th, 2006

I have been searching high and low for development software that meets the following criteria:

  1. Connects to web based version control
  2. Has functional reference for PHP
  3. Runs on multiple platforms (PC/Mac)
  4. Easily manipulates and assists with CSS/JavaScript/(X)HTML

And the good news is, I have finally found a solution… (more…)

Scratch Free! Easy Rinse Formula!

Tuesday, September 12th, 2006

No, not that Ajax®. You know, “AJAX” Asynchronous Javascript And Xml

Is it really as scratch free as they claim?

(more…)

Cross your t’s and dot your i’s

Tuesday, August 29th, 2006

I’m sure it’s happened to us all, but I figured I would tell a humorous tale of how (yes we all know it) missing the littlest character could have us spending an hour and a half pulling our hair out, yet once we enter into the programming and javascript realm, they matter all the more…by that time you become bald. (more…)