For example:
<div id="d">ss</d>
How can I get the div by id?
For example:
<div id="d">ss</d>
How can I get the div by id?
You should access the web page using the contentWindow variable when writing a Chrome Extension.
contentWindow.document.getElementById("d");