<head> </head> <body onload="captureMode.setCapture()" onclick="captureMode.releaseCapture()"> <div id="captureMode" onlosecapture="alert('Mouse capture terminated.')"> <p>Mouse capture is currently turned on. To terminate mouse capture mode, click this page!</p> </div> </body>