Call event on click of stopsharing which appears bottom og chrome

is there way that we can attach event listener to stop sharing button which appears bottom of google chrome while presenting the screen
Screenshot (21)