a clock you are not allowed to watch
Press the button once. The page starts counting — silently, and it will not show you the count. When you believe ten seconds have passed, press it again. The page then tells you how long you actually waited, to the hundredth of a second.
That is the whole instrument. There is no trick in it: the second press is measured against the first with the browser's own clock, and the only unreliable part is the person pressing.
Most people, uncounted and unhurried, land somewhere near — and “somewhere near” at ten seconds can mean eight or thirteen. Counting in your head is allowed; it is also a different instrument than the one this page is about. Try once by feel first.