Stop onKeyDown from Propagating to browser

Is there a way to stop the onKeyDown event from propagating to the browser? I would like to use function keys for my Perspective project and if the user press F3 it will also open the browsers find function for instance.