Can I inject intercom.io using a chrome extension?

238 Views Asked by At

I can't seem to inject it through a normal injection.

The code is the standard script of intercom put in an src/inject/inject.js file

Here is my manifest file

{
  "name": "CHANGE THIS : Extension boilerplate",
  "version": "0.0.1",
  "manifest_version": 2,
  "description": "This extension was created with the awesome extensionizr.com",
  "homepage_url": "http://extensionizr.com",
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "default_locale": "en",
  "background": {
    "page": "src/bg/background.html",
    "persistent": true
  },
  "permissions": [
    "https://*/*",
    " http://*/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "http://*/*", "https://*/*"
      ],
      "js": [
        "src/inject/inject.js"
      ]
    }
  ]
}
0

There are 0 best solutions below