SOURCE

console 命令行工具 X clear

                    
>
console
<style>
	.content {
		position: absolute;
		left: 50%;
		top: 50%;
		width: 100%;
		transform: translate(-50%, -50%);
	}
</style>
<img src="http://cdn.jsrun.top/css/img/logo@2x.png" alt="" class="content">

<script src="https://cdn.staticfile.org/jquery/1.11.2/jquery.min.js"></script>
<script>
$('img').click(function(e){
     var offset = $(this).offset(); 
     var x = (e.pageX + offset.left); 
     var y = (e.pageY + offset.top); 
     alert(parseInt(x) + "," + parseInt(y));
})
</script>