FireFox addon to redefine javascript variables

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
Your goal is to make a firefox addon (XPI extension).
The extension will work on as many firefox versions as possible.
The extension will replace some javascript variables if found on the visited page, as explained in the following example:


the visited page may have the following html code:

<div>line 1</div>
<script src=></script>
<div>line 3</div>
<script src=></script>
<div>line 5</div>
<script src=></script>

As you can see, the variable myColor is reused several times, and each time it is redefined, an external javascript is called. In that external javascript, there is only one line of code, which uses the variable: document.write('color is '+myColor);

Thus output rendered in FireFox browser of this webpage without the extension is:

Line 1
color is orange
Line 3
color green
Line 5
color is purple

The extension will watch all pages visited by the user, and if it detects there is some javascript with defines variable 'myColor' (simplified regex match for script.text is sufficient), it will make the value uppercase. Thus, the webpage rendered in FireFox with the extension will look like this to the user:

Line 1
color is ORANGE
Line 3
color is GREEN
Line 5
color is PURPLE

Skills required:
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 150
in 1 days
$ 250
in 10 days
Hire guiqul
$ 228
in 14 days
Hire teamJava
$ 30
in 1 days
Hire Eh6J72bAL
$ 250
in 1 days