Skip to content Skip to sidebar Skip to footer

Chrome Extension Making Mouse Click With Extension

Is it possible to make particular elements act as it was clicked on them by calling another function? For example I am trying to make an extension which will automatically clicks a

Solution 1:

I think this can be done by the content script. I would add a listener to the extension icon click in the background page. After the callback is triggered, I would inject a content script into the page with UI element. And in this content script I would find a button and trigger click on it.


Post a Comment for "Chrome Extension Making Mouse Click With Extension"