[tor-commits] [snowflake-webext/master] Refactor popup on/off to be shared between webext and badge