Obtenez l'élément que le curseur plane
window.addEventListener('click', function(e) {
var x = e.clientX;
var y = e.clientY;
var hoverElement = document.elementFromPoint(x, y);
console.log(`Hover element is ${hoverElement.tagName}`);
});
MunchDuster