XUL adding to JavaScript

Can a XUL extension in Firefox add extra JavaScript functions or objects that ordinary HTML pages can use? Say I wanted to add a getElementsByClassName method to the document object so my pages could use it directly as long as the extension was installed in my browser: is that possible?
Yes, I know it wouldn’t work for everyone else. There is a point here. :)

I'm currently available for hire, to help you plan, architect, and build new systems, and for technical writing and articles. You can take a look at some projects I've worked on and some of my writing. If you'd like to talk about your upcoming project, do get in touch.

More in the discussion (powered by webmentions)

  • (no mentions, yet.)