0

Let me start with the fact that I did not find such information, so I am asking. I would like to make an extension that will get the clicked item and send it to the popup. I mean something like:

document.addEventListener ('click', (e) => {
             console.log (e.target);
             e.target;
         })

So far I am not able to do it, I was based on this: Chrome Extension how to send data from content script to popup.html but I can't send the click information. I will be grateful for your help.

pony
  • 29
  • 1

0 Answers0