Em Andamento

Javascript to Detect Environ

-

I need a javascript function that checks environment and returns results. Here is what it needs to do:

1) Detect whether javascript is on.

On = 1

Off/unknown = 0

2) Detect the operating system.

Win = W

Mac = M

Unix/Linux = L

Other/unknown = U

3) Detect the operating system version.

If detected = the version number up to one number after the decimal (truncate the rest)

Unknown = 0

4) Detect the browser.

IE = I

Firefox = F

Safari = S

Opera = O

Chrome = C

Other/unknown = U

5) Detect the browser version.

If detected = the version number up to one number after the decimal

Unknown = 0

6) Detect the screen resolution width.

If detected = number

Unknown = 0

7) Detect the screen resolution height.

If detected = number

Unknown = 0

8) Detect the version of Flash installed.

If detected = the version number up to one number after the decimal

Unknown = 0

Then return the results in an array with the value of each index number corresponding to the items above, like this:

environ[0] = ””

environ[1] = value from number 1 above (whether javascript is on)

environ[2] = value from number 2 above (operating system)

etc.

This needs to be cleanly coded and well commented. It needs to be a custom script, not a canned script that happens to include these things.

Thanks!

-

-
I know that item one (detect whether js is on) will always be 1 if the script runs at all, but it is still included in the function for completeness.
-

Habilidades: Javascript

Ver mais: environ javascript, javascript environ, javascript detect environment, chrome system, 9 to 5 mac, what is javascript, what is a javascript, w-9 what is it, w-9 from, javascript what is, mac operating system, javascript to c++, chrome javascript, browser detect, javascript items, chrome detected, javascript etc, firefox screen, resolution screen firefox, browser resolution javascript, resolution firefox, javascript include, safari mac, javascript firefox detect, firefox screen resolution

Acerca do Empregador:
( 88 comentários ) Durham, United States

ID do Projeto: #599323

Premiar a:

syslogic

Please see the PMB

$60 USD em 1 dia
(15 Avaliações)
5.0

8 freelancers estão ofertando em média $86 para este trabalho

jeevanoss

Pls see the PMB

$70 USD em 1 dia
(19 Comentários)
5.1
zheneva

Please read PMB

$70 USD em 1 dia
(6 Comentários)
4.1
nmppatel

I am an IT professional with 10 yrs experience. I have very good experience with Java Script, Ajax, JQuery. I will provide quick & professional service.

$125 USD in 2 dias
(3 Comentários)
2.6
Varun1981

Hi Sir, Please allow me to take this project . Please check my PM for more details. Regards Varun Sharma

$120 USD in 2 dias
(1 Comentário)
1.8
XPExtremeProgram

Dear client we are an experienced team of web developers have worked intensively with javascript,php script,ruby script,python etc...we can do this job in really quick time sooner than you think...contact us for quick Mais

$150 USD in 2 dias
(0 Comentários)
0.0
AnanthTeja

Hi, I am interested in doing this project.

$70 USD in 3 dias
(0 Comentários)
0.0
amitmaniar

hi i can give you the code with in 1 day.

$30 USD em 1 dia
(0 Comentários)
0.0
invegood

Hi, I have experience with js and can help with such detection. Thank you.

$55 USD em 1 dia
(0 Comentários)
0.0