[Edit]
+
0
-
0

js capture right-click event

1 2 3 4 5 6 7 8 9 10 11
<!doctype html> <html> <body> <button onauxclick="handleClick()">Double-click me</button> <script> function handleClick(){ console.log('auxclick event occurred.'); } </script> </body> </html>