Web Injector

Web Injector

Inject JavaScript code into every page (e.g. to help with debugging). For example, make your own wrapper for console logging.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "Web Injector",
  "short_name": "W{I}",
  "author": "Trevor Reed",
  "description": "Inject JavaScript code into every page (e.g. to help with debugging). For example, make your own wrapper for console logging.",
  "version": "1.0.1",
  "permissions": [
    "storage"
  ],
  "icons": {
    "16": "icon16.png",
    "48": "icon48.png",
    "128": "icon128.png"
  },
  "background": {
    "persistent": false,
    "scripts": [
      "jquery.min.js",
      "bg.js"
    ]
  },
  "options_page": "options.html",
  "content_scripts": [
    {
      "matches": [
        "*://*/*"
      ],
      "run_at": "document_end",
      "js": [
        "content.js"
      ]
    }
  ]
}