0

I started learning about how to build extensions, but I stuck on how an extension could capture a mouse event in a website.

i try document.addEventListener by js but it just capture the mouse event in the extesion page

  • the code with the click handlers in, i.e content.js gets injected onto the page rtm: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/content_scripts – Lawrence Cherone Mar 29 '23 at 14:37

0 Answers0