Bug 998387 - Middle click on newtab block button blocks the site
Only add click listener once at the page level and filter/delegate click handling looking for primary/middle clicks.
Move the click listener to the xul window to correctly get the click event to filter for site-related clicks.
--HG--
extra : rebase_source : 3fd8b2c658a695fbc9aa79d09f461acaeef2078f