Plasmo requesting more permissions than requested?

I've noticed bugs(?) that I think are related - and might have to do with me using Vue?

For my CSUI, I have the following script:
<script>
import cssText from "data-text:~style.scss"

export default {
  plasmo: {
    config: {
      matches: ["https://*.linkedin.com/*"]
    },
    // Tailwind CSS must be injected into the parent component
    getStyle: () => {
      const style = document.createElement("style")
      style.textContent = cssText
      return style
    }
    // getOverlayAnchorList: async () => document.querySelectorAll("a")
  }
}
</script>

Note the matches config. However, my CSUI is still visible on every page that I go to.

Also, when I uploaded my Plasmo-bundled extension to Chrome, I got an alert that I am requesting host permissions. My
package.json
file looks like this:
...
  "manifest": {
    "externally_connectable": {
      "matches": [
        "*://localhost/*",
        "*://app.vector.co/*",
        "*://*.vector.co/*",
        "*://vector.co/*"
      ]
    }
  }
...

So I'm not sure where host permissions are being requested. I believe externally_connectable does not request host permissions and only allows those sites to send messages to my extension? Also not sure why the CSUI is showing up everywhere.
Screenshot_2023-07-13_at_11.21.21_AM.png
Was this page helpful?