Tag Archives: firefox

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

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