You would have to use JavaScript. Look for example at
this code[
^].
Catch it in JavaScript, then forward it to your server via Ajax or o.g. simple call a new URL with the help. The latter one would require not passing back the key, to the server at all.
Cheers
Uwe