I have managed to get a custom very basic extension running in Firefox.
What I want to do next is:
- Check if the user is on a desired webpage
- If yes: check the page on each postback for a hidden element containing a string
- If found: launch an external app with string parameter
Hints on where to start would be appreciated...
EDIT: I figured out how to run my code on each page:
addEventListener("DOMContentLoaded", doSomething, false);
EDIT2: I could access page data with event.originalTarget in the handler and run apps with Components.interfaces.nsIProcess