This new dual d-fructose–mercury chemosensor is the first example of utilizing boronic acid–diol complexation for enhancement of the sensor's sensitivity towards toxic metal ions.