Monthly Archives: May 2010

JAVASCRIPT: be notified when location hash changes

I have code that should be fired when the URL at the location bar on the browser changes, most specifically, when the “hash” part of the URL changes. This happens when the user clicks a “a” anchor link to the … Continue reading

Posted in programming | Tagged , , | Leave a comment

JAVA: Using Java 6 instead of Java 5 in Mac OS X

Using Mac OS X 10.5.8 I was getting some UnsupportedClassVersionError when I tried running my application in Mac OS X. This error means I’m trying to use code compiled in a Java version not supported by my JVM. To check … Continue reading

Posted in configuration | Tagged , , | Leave a comment

XUL: Allowing DIV text select inside XUL controls in Firefox

Needed to use a DIV tag to show some text in a Firefox extension. The problem was that Firefox extensions usually use XUL, not HTML, but we can use HTML controls and tags inside XUL. But the DIV was not … Continue reading

Posted in programming | Tagged , , | Leave a comment