jQuery in Google Chrome Content Script?

You need to load it in your manifest.json, like this:

  "content_scripts": [
    {
      "matches": ["http://*/*","https://*/*"],
      "js": ["jquery-1.4.2.js", "extension.js"]
    }
  ]

Leave a Comment