Closed

Javascript Help (property enumeration on navigator object)

This really basic but I don't have time to do it. I need to walk the navigator properties and output their results. I do not want to include inherited stuff. I found this on the Internet...

for(var property in navigator){

var str = navigator[property]

[url removed, login to view](property + "=<em>"+str+"</em><br />");

}

It's close, but outputs a number of functions that seem to be inherited, and on some objects like geolocation i return something like [object geolocation]. So basically if the property value contains "[object" or "function" I don't want it in my output. I can't imagine that this would take more than 10 minutes to do.

Skills: Javascript

See more: need a freelancer to help me with Translation. My budget is around $250 - $750 USD and I need this to be done within 3 days., I need a freelancer to help me with Photoshop. My budget is around $10 - $30 USD and I need this to be done within 3 days., fopen javascript help, custom javascript help existing website, javascript help unity, unity javascript help, javascript help, adobe bridge javascript help, javascript help file, access property method null object reference cs5, object sims objects, word vba write document property, javascript data property, need javascript help fix, quick javascript help coder, indesign javascript help

About the Employer:
( 39 reviews ) Sinking Spring, United States

Project ID: #15211027

11 freelancers are bidding on average $17 for this job

BaNgan

Hi, You said what you want with null and undefined, but how with object? Should we display the JSON string of the object in the result? Relevant Skills and Experience var str = navigator[property] if (typeof(navigator More

$20 USD in 1 day
(162 Reviews)
6.6
imRaziel

for(var p in navigator){ var v = navigator[p] if(typeof v === "function") { continue } if(typeof v === "object") { continue } [url removed, login to view](p + "=<em>"+v+"</em><br />"); } Relevant Skills and Experience ^ Pr More

$10 USD in 1 day
(6 Reviews)
3.9
AMDigitalS

Give me this task and I'll do it. Let's discuss this further :).

$20 USD in 1 day
(6 Reviews)
2.4
mitkoradev

Sure, its quick ... Relevant Skills and Experience javascript, simple things Proposed Milestones $20 USD - ...

$15 USD in 1 day
(4 Reviews)
2.6
gaurav

Hello, Being expert web developer with over 6+ years of intensive experience I'm ready to finish off your project by providing you the quality solutions for the same. Just waiting for an interview. Relevant Skills an More

$25 USD in 1 day
(0 Reviews)
0.0
$25 USD in 1 day
(0 Reviews)
0.0
gianpie

var t = typeof navigation[prop]; if(t != 'object' && t!= function) // do what you want

$10 USD in 1 day
(0 Reviews)
0.0
mknayan

Hello, I understood your requirement. I can surely do that. can you give me the the website information. please feel free to contact with me. Regards, Khairullah.

$20 USD in 1 day
(0 Reviews)
0.0
deepthis594

I have extensive JavaScript experience and can deliver it in few minutes. Relevant Skills and Experience JavaScript and web programming experience. Proposed Milestones $20 USD - On delivering the complete code.

$20 USD in 1 day
(0 Reviews)
0.0
viniciusmarson

Hi, I did this once, so I can help you real fast.

$15 USD in 1 day
(0 Reviews)
0.0
stivens

Hello, I have fixed this code. I have a working code with the specifications you need. Please chat with me. I already have the working code. Thank you. Stay tuned, I'm still working on this proposal.

$10 USD in 0 days
(0 Reviews)
0.0