JustLines

JustLines

Draw lines in your browser and change colors and pen sizes scrolling the mouse wheel

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "JustLines",
  "version": "0.1.0",
  "description": "Draw lines in your browser and change colors and pen sizes scrolling the mouse wheel",
  "homepage_url": "https://github.com/camandel/JustLines",
  "icons": {
    "16": "img/icon16.png",
    "32": "img/icon32.png",
    "48": "img/icon48.png",
    "128": "img/icon128.png"
  },
  "permissions": [
    "activeTab",
    "storage"
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "browser_action": {
    "default_title": "JustLines shortcuts:\n\n- Click the icon to enable/disable drawing mode\n- Ctrl+Shift+S to enable/disable drawing mode\n- ESC to disable drawing mode\n- Mouse wheel to change pen colors\n- Shift+Mouse wheel to change pen size\n- Space to clear the draw\n",
    "default_icon": "img/icon19-disabled.png"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content.js"
      ],
      "css": [
        "content.css"
      ]
    }
  ],
  "commands": {
    "toggle": {
      "suggested_key": {
        "default": "Ctrl+Shift+S",
        "mac": "Command+Shift+S"
      },
      "description": "Toggle feature"
    }
  }
}