code: function disableInjectionForUrl(url, opt_skipReload) {
    var url = getCanonicalUrl(url);
  
    // Disable injection.
    setPagePreference(url, 'enabled', false);
  
    // Find existing page mod and disable.
    // This will detach workers in those tabs.
    var mod = activePageMods[url];
    if (!mod) {
      return;
    }
    mod.destroy();
    delete activePageMods[url];
  
    if (!opt_skipReload) {
      // Find tabs with the URL and reload.
      reloadTabsMatchingUrl(url);
    }
  }
docs: Disables injection for a URL and reloads tabs with that URL.
  @param {string} url URL to activate on.
  @param {boolean=} opt_skipReload Whether to skip reloading of pages.