UNPKG

@wireapp/cryptobox

Version:

High-level API with persistent storage for Proteus.

8 lines (7 loc) 147 B
module.exports = function isFirefox () { try { return /firefox\/(\d+)/i.test(navigator.userAgent) } catch (error) { return false } }