I have the following:
我有以下内容:
<html>
<body oncontextmenu="return false;">
<script src="jquery-1.3.2.min.js"></script>
<script>
$(document).ready(function()
{
$(document).mousedown(function(e)
{
if (e.button == 2) //right click
{
document.body.style.backgroundColor = "green";
}
else //left click
{
document.body.style.backgroundColor = "blue";
}
});
});
</script>
</body>
</html>
<html>
<body