I have to do this:
1. Request a page and have firefox process it as normal. Firefox
should have processed all the scripts on it and if it had any remote
scripts to get, then get them and process them.
2. I do not need to view the page but I need to save it to a file.
The functions should be as highly abstract as possible, something like
an API so that my program will resist through the new releses of
firefox. Also I want to be able to remove all the junk that is not
necessary for my program without much hassle. That means not to have
to dig to much in the inner layers to remove code, but this is
optional.
I will take a look at the source sometime soon and will come back to
add to this thread on my findings.
Thank you for your time.