Is the user agent for Edge or Spartan browsers known already? Can anyone tell me how to detect this browser and diferentiate it from IE in advance of its release?
Another feature-detection based option.
function isBrowserEdge () { return typeof CSS !== 'undefined' && CSS.supports("(-ms-ime-align:auto)"); }