How does the chrome extension listen for double-click events on tags?

I want to double-click the tag to close the current page, but I don"t know how to listen for the double-click event of the tag.

Menu