Is it possible to completely prevent a user form leaving a webpage, (for a net sec course)
<p>My network security professor want's us to create a web page that a user can't navigate away from using the URL bar, or bookmarks.</p>

<p>His hints were to use <code>onbeforeunload</code> and <code>onunload</code>.</p>

<p>Target browser is Firefox.</p>
