The current behaviour ends up reloading every open tab because neither onToggleIITC nor getTabsToInject actually check the URL of each tab. This change updates the former to minimise the scope (other callers of getTabsToInject seem to be doing their own URL checks anyway).
The current behaviour ends up reloading every open tab because neither
onToggleIITC
norgetTabsToInject
actually check the URL of each tab. This change updates the former to minimise the scope (other callers ofgetTabsToInject
seem to be doing their own URL checks anyway).