1.0.0 • Published 8 years ago
is-private-browser v1.0.0
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');
}
1.0.0
8 years ago