snippets

Chrome extension allowing you to import and execute JavaScript code snippets from GitHub

Github星跟踪图

Snippets is a Chrome extension allowing you to import JavaScript code snippets from GitHub (including GitHub Enterprise) and execute them via the context menu or omnibox.

Context Menu

The context menu provides easy access and discovery of snippets by right clicking anywhere on the page. Clicking on a snippet will execute it in the current tab.

Omnibox

The omnibox allows you to fuzzy search all available snippets.

To activate the Snippets omnibox, focus on the address bar and type 's' then tab or space. Once activated you can begin to fuzzy search.

:bulb: You can use ⌘+l to jump straight to the address bar.

https://github.com/bgrins/devtools-snippets/tree/master/snippets

FAQ

What are snippets?

Snippets are small scripts which can be executed within the context of any webpage. A Snippet could do just about anything you can think of, for example it could pretty print the search query or maybe autofill a large form.

Why not use the snippets built-in to Chrome DevTools?

DevTools doesn't provide a way to easily share snippets with your team and requires you to author and maintain snippets in DevTools itself. However, as this extension imports snippets from GitHub, you can easily share them and author them using your preferred editor.

License

MIT

主要指标

概览
名称与所有者jotform/before-after.js
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2015-03-06 08:39:44
推送于2023-03-15 08:08:42
最后一次提交2022-03-17 15:45:05
发布数0
用户参与
星数360
关注者数46
派生数64
提交数51
已启用问题?
问题数13
打开的问题数8
拉请求数6
打开的拉请求数3
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?