Detect if your visitors have a gmail account

Interesting technique learned in how can know if your visitor have a gmail account or not:

Code here:
<span id="youhavegmail" style="color: #274e13; display:none;"><b>You have a gmail account active</b></span> 
<span id="youdontgmail" style="color: #660000; display:none;"><b>You don't have a gmail account active</b></span> 
<img onerror="document.getElementById('youdontgmail').style.display = '';" onload="document.getElementById('youhavegmail').style.display = '';" src="" style="display: none;" />

More info at:

Posted at BinaryCell


Popular Posts