I was looking for a way to do this too. I did not find one, but I found a good compromise to be a bookmarklet that copies a piece of code to the clipboard. I use $ 0 with angular to get the volume of an element, for example: angular.element ($ 0) .scope ()
So, I have a bookmarklet that copies this line to my clipboard, then I can very easily paste it into the console. Depending on what you want to use $ 0 for, this might do the trick for you.
Here is a link to how to copy text to clipboard using javascript: How to copy to clipboard in JavaScript?
user3692823
source share