Any suggestion what is the most convenient way to detect if a double click event was not on text, but on images (or other elements on the websites)?
More info: at the moment, I use "document.addEventListener("dblclick", getSelectedText);" to get a double-clicked word on the website. But many users of my extension complain that they often mistakenly double click on images etc... so I want to eliminate those double-clicked events.