Draw lines in your browser and change colors and pen sizes scrolling the mouse wheel
JustLines Extension
JustLines is a Chrome extension to quickly draw simple colored lines in your browser. You can do it on remote or local sites and even pdf files.
You can use it during presentation to highlight some contents or draw simple schemas.
I like to use these kind of tools during presentations and I needed a quick way to change colors and pen size without using popups or options menu but do it keeping the mouse at the current position on the draw. So I decided to use mouse wheel as main controller to change colors and pen size.
Features:
* press \"Ctrl+Shit+S\" or click on the extension icon to enable/disable drawing mode
* you can also press \"ESC\" to disable drawing mode
* keep \"left button\" pressed and move the mouse to draw
* change pen colors scrolling the \"mouse wheel\"
* change pen size pressing \"Shift\" and scrolling the \"mouse wheel\"
* clear draw pressing \"Space\" or disabling drawing mode
Read more
You can use it during presentation to highlight some contents or draw simple schemas.
I like to use these kind of tools during presentations and I needed a quick way to change colors and pen size without using popups or options menu but do it keeping the mouse at the current position on the draw. So I decided to use mouse wheel as main controller to change colors and pen size.
Features:
* press \"Ctrl+Shit+S\" or click on the extension icon to enable/disable drawing mode
* you can also press \"ESC\" to disable drawing mode
* keep \"left button\" pressed and move the mouse to draw
* change pen colors scrolling the \"mouse wheel\"
* change pen size pressing \"Shift\" and scrolling the \"mouse wheel\"
* clear draw pressing \"Space\" or disabling drawing mode
Source 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:\\- Click the icon to enable/disable drawing mode\- Ctrl+Shift+S to enable/disable drawing mode\- ESC to disable drawing mode\- Mouse wheel to change pen colors\- Shift+Mouse wheel to change pen size\- Space to clear the draw\", "default_icon": "img/icon19-disabled.png" }, "content_scripts": [ { "matches": [ "" ], "js": [ "content.js" ], "css": [ "content.css" ] } ], "commands": { "toggle": { "suggested_key": { "default": "Ctrl+Shift+S", "mac": "Command+Shift+S" }, "description": "Toggle feature" } }}
Read more