source-editor

source-editor

Add editor to a source view. Modify code to run on the original page. Using the ACE Editor. Try this one. 1. Modify code.…

Merlin
Additional files are visible only to premium users

manifest.json


{
  "browser_action": {
    "default_icon": {
      "19": "/img/logo.png",
      "38": "/img/logo.png"
    },
    "default_popup": "/html/popup.html",
    "default_title": "source-editor"
  },
  "update_url": "https://clients2.google.com/service/update2/crx",
  "background": {
    "scripts": [
      "/lib/jsdeferred.js",
      "/src/background.js"
    ]
  },
  "name": "source-editor",
  "permissions": [
    "tabs",
    "storage",
    "webRequest",
    "webRequestBlocking",
    "http://*/*.js",
    "https://*/*.js",
    "http://*/*.css",
    "https://*/*.css"
  ],
  "icons": {
    "16": "/img/logo.png",
    "128": "/img/logo.png"
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*.js",
        "https://*/*.js",
        "http://*/*.css",
        "https://*/*.css"
      ],
      "js": [
        "/lib/ace.js",
        "/lib/ace/ext-searchbox.js",
        "/lib/ace/keybinding-emacs.js",
        "/lib/ace/keybinding-vim.js",
        "/lib/ace/mode-javascript.js",
        "/lib/ace/mode-css.js",
        "/lib/ace/theme-chrome.js",
        "/lib/jsdeferred.js",
        "/src/content_scripts/editor.js",
        "/src/content_scripts.js"
      ]
    }
  ],
  "manifest_version": 2,
  "version": "0.7"
}