Import and execute JavaScript code snippets from GitHub
Snippets Extension
Snippets allows you to import JavaScript code snippets from GitHub (including GitHub Enterprise) and execute them via the context menu or omnibox.
The code is open source and can be found here https://github.com/richardscarrott/snippets
Read more
The code is open source and can be found here https://github.com/richardscarrott/snippets
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Snippets", "version": "0.2.7", "manifest_version": 2, "description": "Import and execute JavaScript code snippets from GitHub", "homepage_url": "http://github.com/richardscarrott/snippets", "omnibox": { "keyword": "s" }, "icons": { "16": "artwork/icon-128.png", "48": "artwork/icon-128.png", "128": "artwork/icon-128.png" }, "background": { "scripts": ["dist/background.js"], "persistent": true }, "browser_action": {}, "options_page": "dist/options.html", "options_ui": { "page": "dist/options.html", "chrome_style": false, "open_in_tab": true }, "permissions": ["contextMenus", "storage", "unlimitedStorage"], "content_scripts": [ { "matches": [""], "js": ["dist/content.js"] } ]}
Read more