Detect Browser in JavaScript

chrome firefox edge opera safari