The idea is that I can write JavaScript functions and use it in snippets. We can also have a library that the users share together. Like I can write a function to get some info from the current page and execute certain actions using it on the page.
This is something we have considered in the past and decided against for security reasons. JavaScript is incredibly powerful and giving full access to it could open up some dangerous possibilities.
We are woking on adding additional abilities to pull page information though, along the lines of this idea:
Nice, Thanks.
I will add anew idea of triggering a bookmark.