title: Detecting browser/version with javascript vs. detecting on server side?
body: <p>We are building a bookmarklet, and we are wondering if we can detect on client side with JavaScript the browser and version number more accurately than doing that on server side using the agent.</p>
  
  <p>We would push the detection results to the server for the main request.</p>
  
  <p>The questions is, can this approach work better and be more accurate? Or both can do the same mistakes and JavaScript itself computes from the user-agent (which can be changed by plugin/proxy).</p>
  
  <p><strong>IMPORTANT</strong></p>
  
  <p>Please don't forget that we are building a <strong>bookmarklet</strong> and so we can't load fancy tools like Modernizr and JQuery as it doesn't work out fast.</p>