Closed yogesh-kamble closed 6 years ago
You basically need some kind of content script where you do the scraping. And send its payload back to the background page. Since this is not an issue with this boilerplate please use https://stackoverflow.com/.
Following code I tried in background.js
and in payload.js
but in payload.js document contain popup.html dom object. how can I access opened page html DOM in payload.js ? or is there any other way to scrap web site data?
Thanks