is-private-browser

1.0.0 • Public • Published

A front-end module for detecting iOS private browsing sessions, so that you can modify your app's behavior and/or warn users as appropriate.

var isPrivateBrowser = require('is-private-browser');
if (isPrivateBrowser()){
    alert('This app requires that you not use an iOS private browsing session');
}

Package Sidebar

Install

npm i is-private-browser

Weekly Downloads

23

Version

1.0.0

License

MIT

Last publish

Collaborators

  • atuttle