I have a simple custom Chrome Extension I've looked all over the web for this and nothing good showed up. I want to read how many elements of a certain type are in a page, through my popup.js
file.
Something like this:
$('div').length
Is it possible to do this through the chrome.tabs
command?