If a browser is switched into incognito mode the dns and hsts caches are removed. As such the litmus test should always be run from a "clean" browser. Apparently on chrome/firefox this can be detected with the following:
if ('storage' in navigator && 'estimate' in navigator.storage) {
const {usage, quota} = await navigator.storage.estimate();
console.log(`Using ${usage} out of ${quota} bytes.`);
if(quota < 120000000){
console.log('Incognito')
} else {
console.log('Not Incognito')
}
} else {
console.log('Can not detect')
}
Adding a big model to the front of the litmus site reminding people to switch to a fresh incognito mode before trusting the results seems like a sensible idea
If a browser is switched into incognito mode the dns and hsts caches are removed. As such the litmus test should always be run from a "clean" browser. Apparently on chrome/firefox this can be detected with the following:
Adding a big model to the front of the litmus site reminding people to switch to a fresh incognito mode before trusting the results seems like a sensible idea