Search This Blog

Detect Edge browser using User Agent

var ua = window.navigator.userAgent.toLowerCase();
if(ua.indexOf('edge/')) {
    console.log('Edge');
} else if(ua.indexOf('edg/')) {
    console.log('Edge Chromium');
}



see also

No comments:

Post a Comment