Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<script>
window.addEventListener("mousedown", event => {
let data = JSON.stringify({
type: "got-mouse-down",
coords: {
offsetX: event.clientX,
offsetY: event.clientY
}
});
window.parent.postMessage(data, "*");
});
</script>