How can I detect private browsing FireFox on javascript?
Firefox ver. 29.0.1
Checking indexedDB in try...catch dont' work :(
var dbTest;
try{
dbTest = window.indexedDB.open('test');
console.log('Incognito NOT detected')
} catch(e){
console.log('Incognito detected')
}