title: How to match multiple sites with the same domain with Chrome extension content scripts
body: <p>Trying to match content scripts to multiple sites with the same domain but different TLDs results in it only matching to one of the sites:</p>
  
  <pre><code>"content_scripts": [
    {
      "matches": ["https://foo.org/*", "https://foo.com/*"],
      "js": ["content.js"]
    }
  ],
  </code></pre>
  
  <p>In this case it's only matching foo.com and not foo.org. Is this behavior documented somewhere, and is there some way to make it match every site in the list?</p>
  
  <p>This also doesn't work:</p>
  
  <pre><code>"content_scripts": [
    {
      "matches": ["https://foo.org/*"],
      "js": ["content.js"],
    },
    {
      "matches": ["https://foo.com/*"],
      "js": ["content.js"],
    }
  ],
  </code></pre>
  
  <p>It ends up only matching <code>foo.com</code>.</p>
  
  <p>Screenshot of the Details dialog:</p>
  
  <p><img src="https://i.stack.imgur.com/wNblC.png" alt="screenshot"></p>