Chrome has a nice snippet feature, which is hidden under settings icon. To enable it just go to settings button ( in the bottom right corner ), then choose experiments and check the snippets support checkbox.
Now, when you open sources panel, there is a snippet area. Just create new snippet ( right click to open small menu ), enter you code and have fun.
Important note: you may have experimental extensions disabled. If so, just type about:flag in the address bar, and find experimental extensions api, which needs to be enabled.
Here is a screenshot from my snippet with console panel opened:
Happy Coding
No comments:
Post a Comment