This page describes how to create Custom (C++) Events that can Pass Data. Meaning that you can add extra parameters and query them. One example is lets say you want ff to perform an action whenever something happens, but depending of severity of that event you will react with a different severity. Ok, so that's a great example but work with me.
This is no easy task. In order to do this you must be able to do all of the following
- Download Mozilla Source Code
- Build Mozilla
- Creating Custom Firefox Extensions with the Mozilla Build System, this is the foundation for everything we'll do. I'll go over some (very little) of it so do this first then come back and do this tutorial.