I was trying to get content of a page and display it on the chrome pop up extension. Used the getelementbyclassname method in dom manipulation, however it still is undefined. Tried setting a delay however it still is the same. Any idea on this ?
I was trying to get content of a page and display it on the chrome pop up extension. Used the getelementbyclassname method in dom manipulation, however it still is undefined. Tried setting a delay however it still is the same. Any idea on this ?
I solved it with messages and service workers.
See the tutorial below.
How to make Chrome Extension 27 Get html information
https://youtu.be/m0H4g761vXo