In Progress

FireFox addon to redefine javascript variables

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:

Example:

the visited page may have the following html code:

<div>line 1</div>

<script>myColor='orange';</script>

<script src=[url removed, login to view]></script>

<div>line 3</div>

<script>myColor='green';</script>

<script src=[url removed, login to view]></script>

<div>line 5</div>

<script>myColor='purple';</script>

<script src=[url removed, login to view]></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: [url removed, login to view]('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 [url removed, login to view] 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: Javascript

See more: firefox javascript, regex is, regex in c, regex explained, regex example, html code for javascript, regex &, code orange, regex, firefox, firefox addon, c++ regex, c regex, html javascript example, script src, html regex, javascript text, firefox extension replace javascript, firefox user, javascript write, external javascript domain, addon page, extension found, html div example, firefox browser

About the Employer:
( 66 reviews ) Sumperk, Czech Republic

Project ID: #1695353

5 freelancers are bidding on average $182 for this job

zeke

Available to start immediately and finish within 1 day. Best Regards, Zeke

$150 USD in 1 day
(26 Reviews)
5.7
corluk

I am a php developer for 10 years. Please check your PMB for my offer. Best Regards

$250 USD in 10 days
(11 Reviews)
4.1
guiqul

Sir, I can help you.

$228 USD in 14 days
(4 Reviews)
3.1
teamJava

Hello, Lets get started!! Please check PMD.

$30 USD in 1 day
(0 Reviews)
0.0
Eh6J72bAL

Custom Software Development - <b><i>Removed by Admin</i></b>

$250 USD in 1 day
(0 Reviews)
0.0