Skip to content

richardscarrott/snippets

Repository files navigation

Context Menu Example

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.

Context Menu Example

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.

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

Context Menu Example

Recommended snippets

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.

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages