Is there a way to get the text content of a <div>
from the content page from within a chrome extension?
The scenario is:
From a certain webpage www.****.com/page.html, it has a code of:
<div id="pageDiv">
TEXT FROM DIV
</div>
When a user opens the chrome extension from the chrome bar (opens popup.html), it must get the value of the pageDiv
from the content page and insert the text to the chrome extension's popup.html.