Ignore event handlers in extension when browserAction badge is set to inactive