detect-facebook-in-app-browser
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Detect Facebook in-app browser

Go To NPM Go To yarnpkg

TypeScript

codecov

Languages

한국어 | English


Introduce

Facebook in-app browsers experience a lot of inconvenience because they cannot be linked to existing browsers. In particular, some functions such as WebRTC cannot be used, so the user can have a bad experience, so check in advance. I created this library to encourage users to leave Facebook and turn on their browsers to enter.

Install

npm i detect-facebook-in-app-browser # npm

yarn add detect-facebook-in-app-browser # yarn

Usage

import isFacebookInAppBrowser from 'detect-facebook-in-app-browser';

if (isFacebookInAppBrowser()) {
  // do something...
}

Package Sidebar

Install

npm i detect-facebook-in-app-browser

Weekly Downloads

4

Version

0.1.1

License

MIT

Unpacked Size

10.1 kB

Total Files

10

Last publish

Collaborators

  • juunini