title: Editing Chrome Extensions(Adblock) Code so that it does not open a new tab when installed
body: <p>I am using selenium with python to open chrome and the Adblock gets installed every time I load it.
  In addition to the tab that I want to use a &quot;Thank you for Installing adblock&quot; tab opens which is very annoying. To close the tab I tried this</p>
  <pre><code>chld = driver.window_handles[1]
  driver.switch_to.window(chld)
  driver.close
  </code></pre>
  <p>Closing the driver like this does not allow me to continue on the main tab as I get this error</p>
  <pre><code>selenium.common.exceptions.NoSuchWindowException: Message: no such window: target window already closed
  </code></pre>
  <p>So to deal with this I thought maybe I can edit the adblock crx files to not open the new tab but I don't know how and what changes I can make.
  Here is <a href="https://drive.google.com/drive/folders/1KlkASMCqwk_5-QZTZ8o-J7iwhgk8a93v?usp=sharing" rel="nofollow noreferrer">folder</a> for the adblock files that can be edited.</p>