Hello friend,
I have posted a question on the google groups but nobody answers.
Here is the question.
Now I want to modify firefox a bit to use it like an automated client. I want to modify it so if a new version is launched I can run an automated script on the source and it modifies it again, that is why I am looking for functions which are persistent, like an API.
I will copy paste from the google group thread:
"I have not looked yet at the source code so don't flame me on this.
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.
Also I want to be able to access all the variables that a script in a
web page can access. I want to access the cookies. I want to modify
the strings that firefox send when it does a GET HTTP.
Thank you for your time. "
I have to say sorry I still had no time to look at the source, considered it of low priority, but the time to modify it draws close. So I am looking for an experienced coder to give some insight, hints.
Thank you.
I have posted a question on the google groups but nobody answers.
Here is the question.
Now I want to modify firefox a bit to use it like an automated client. I want to modify it so if a new version is launched I can run an automated script on the source and it modifies it again, that is why I am looking for functions which are persistent, like an API.
I will copy paste from the google group thread:
"I have not looked yet at the source code so don't flame me on this.
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.
Also I want to be able to access all the variables that a script in a
web page can access. I want to access the cookies. I want to modify
the strings that firefox send when it does a GET HTTP.
Thank you for your time. "
I have to say sorry I still had no time to look at the source, considered it of low priority, but the time to modify it draws close. So I am looking for an experienced coder to give some insight, hints.
Thank you.