I am working on a chrome extension where users will often times go to a webpage where there will be a cross-domain iframe embedded in the web page. What I am wanting to do is to listen for when inputs inside of an iframe are clicked or focused, and then do something based off of that.
A good example of what we are wanting to do is 1Password. Their extension is able to display suggestions when an input is clicked, even when that input is in a cross-domain iframe.
I am wanting to know how I can do something similar?