/**
 * @fileoverview Utility functions related to the user agent.
 */


function isMobile() {
  return isIOS() || isAndroid();
}


function isIOS() {
  return /iPhone|iPad|iPod/i.test(navigator.userAgent);
}


function isAndroid() {
  return /Android/i.test(navigator.userAgent);
}


function isChrome() {
  return navigator.userAgent.indexOf('Chrome') != -1;
}


function isSafari() {
  return !isChrome() && navigator.userAgent.indexOf('Safari') != -1;
}


function isFirefox() {
  return navigator.userAgent.indexOf('Firefox') != -1;
}


function isIE() {
  return /MSIE\/\d+/.test(navigator.userAgent);
}


function isIEorEdge() {
  return /Edge\/\d+/.test(navigator.userAgent) ||
      /MSIE\/\d+/.test(navigator.userAgent) ||
      /Trident\/\d+/.test(navigator.userAgent);
}


module.exports = {
  isAndroid: isAndroid,
  isChrome: isChrome,
  isFirefox: isFirefox,
  isIOS: isIOS,
  isIE: isIE,
  isIEorEdge: isIEorEdge,
  isMobile: isMobile,
  isSafari: isSafari
};

@@ -343,34 +343,47 @@
 ('Chrome') != -1
+ && !isEdge()
 ;%0A
-
 %7D%0A%0A%0Afunction isS
@@ -609,32 +609,108 @@
 userAgent);%0A%7D%0A%0A%0A
+function isEdge() %7B%0A  return navigator.userAgent.indexOf('Edge') != -1;%0A%7D%0A%0A%0A
 function isIEorE
@@ -909,16 +909,16 @@
 ndroid,%0A
-
   isChro
@@ -931,16 +931,34 @@
 Chrome,%0A
+  isEdge: isEdge,%0A
   isFire

Add Edge useragent detection