Đang Thực Hiện

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

Kỹ năng: Javascript

Xem thêm: 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

Về Bên Thuê:
( 67 nhận xét ) Sumperk, Czech Republic

Mã Dự Án: #1695353

5 freelancer đang chào giá trung bình $182 cho công việc này

zeke

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

$150 USD trong 1 ngày
(26 Đánh Giá)
5.7
corluk

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

$250 USD trong 10 ngày
(11 Đánh Giá)
4.1
guiqul

Sir, I can help you.

$228 USD trong 14 ngày
(4 Đánh Giá)
3.1
Eh6J72bAL

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

$250 USD trong 1 ngày
(0 Đánh Giá)
0.0
teamJava

Hello, Lets get started!! Please check PMD.

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0