Testing

function isPrivateMode(): Promise<boolean>


An alert() will notify if you are browsing in private mode.


Usage

isPrivateMode().then(function (isPrivate) {
   console.log('Browsing in private mode? ', isPrivate);
});