Can't trigger event in Google Hangouts

Can't trigger event in Google Hangouts

I've been writing a Chrome extension to automate some behavior, I can't seem to trigger the "join" event in Google Hangouts. [Basically I want my extension to click "join" automatically when I hope certain hangouts. Eventually I'd like to automate muting and some other things.]

During my research to automate this using jQuery in my extension, I would look at the page showing the join button, open the Chrome Developer Tools - and for the life of me, no matter what element I would go after, I can't see to trigger the click event.

I can only assume that the hangout code is capturing the event in some other way and is defeating my garden-variety events to identify the right element and trigger the right event.

(Doubtless preventing such hacks is not a bad idea on Google's part if that is their intention -- still, it would smooth my workflow to not have to click that dang button! Typically the computer running the hangout is on the other side of the room and I can't use VNC with the machine.)

Any ideas? (Try it yourself.)

To sum up:

Open up the Google Hangouts "Join" page in Chrome developer tools.
See if you can trigger the right event in JavaScript to join the hangout.

    • Topic Participants

    • john