google-chromegoogle-chrome-devtools

Chrome devtools: How to call a function from another snippet?


I have created many snippets in the Chrome devtool's "Elements > Snippets" panel.

I have a snippet with utility functions like loadJquery, loadUnderscore, etc. I would like to call these functions from another snippet. Is this possible?


Solution

  • No, snippets have no knowledge of other snippets nor is there a way to query them up. Snippets are isolated scripts that work independently of each other.