Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (window.ActiveXObject)
- return "IE";
- else if (document.getBoxObjectFor)
- return "Firefox";
- else if (window.MessageEvent && !document.getBoxObjectFor)
- return "Chrome";
- else if (window.opera)
- return "Opera";
- else if (window.openDatabase)
- return "Safari";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement