Mercury can be quite harmful in large amounts, and detecting its presence in foods or liquids typically requires lab-based tests. A new nanosensor, however, can quickly detect even small levels of the heavy metal onsite, simply by tapping on samples.