When I used inspect elements in Google Chrome there is always == $0
at the end of the selected element. This is something new and I hadn't see it in the older versions of the Google Chrome:
It's the last selected DOM node index. Chrome assigns an index to each DOM node you select. So $0 will always point to the last node you selected, while $1 will point to the node you selected before that. Think of it like a stack of most recently selected nodes.
Inspect element is one of the developer tools incorporated into the Google Chrome, Firefox, Safari, and Internet Explorer web browsers. By accessing this tool, you can actually view — and even edit — the HTML and CSS source code behind the web content.
VIEW HIDDEN ELEMENTS: The extension makes visible those elements hidden by the "display:none", "type=hidden", and "visibility=hidden" attributes / styles. To do this hit LazySec's "Show Hidden Elements" button.
Press CMD + Option + I on a Mac, or F12 on a PC to open Inspect Elements without clicking anything.
Dev Tools remembers the last five DOM elements (or JavaScript heap objects) that you've selected in the tab (or Profiles panel). It makes those objects available as
$0
,$1
,$2
,$3
, and$4
. $0 returns the most recently selected element or JavaScript object, $1 returns the second most recently selected one, and so on.
See this for more information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With