google+ share and onendinteraction - no confirm
问题 I'm setting up a google+ share button, and want to know when someone has shared the link so that I can perform an action. You can register a callback on the share button using the onendinteraction attribute, and the documentation states that this will be called whenever the share box is closed and whenever the share is completed. My function is being called when the window is closed, but not when the link is actually shared: function redirectGooglePlus(jsonParam) { alert(jsonParam.type); }