This adds a lot of plumbing, and a little toggle to the popup when you start translating a domain to keep it translating.
Special attention is paid to make sure that if you stop translating, and open a new tab, that tab doesn't automatically start translating again. Similarly, if you start translating any page, and open a new tab from that page, that new tab will also be translated if it is in the same domain.
This adds a lot of plumbing, and a little toggle to the popup when you start translating a domain to keep it translating.
Special attention is paid to make sure that if you stop translating, and open a new tab, that tab doesn't automatically start translating again. Similarly, if you start translating any page, and open a new tab from that page, that new tab will also be translated if it is in the same domain.