detect-facebook-in-app-browser
Version:
Detect Facebook in-app browser typescript library
3 lines (2 loc) • 440 B
JavaScript
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).DetectFacebookInAppBrowser=n()}(this,(function(){"use strict";return function(){return void 0!==["FBAN","FBAV"].find((function(e){return navigator.userAgent.includes(e)}))}}));
//# sourceMappingURL=detect-facebook-in-app-browser.production.min.js.map