vendredi 2 janvier 2015

Chrome extension analyse DOM in background.js?


Vote count:

0




I have an extension that has permission to access only one site.

I am loading a page via ajax every few minutes, then I seek for certain element attributes with document.querySelector.


This is easy if the user is viewing that site (in content script), but if not, can I analyse the page content in background.js ? There is no document object available in background. Or can i somehow append the page to the pageaction popup ?



asked 24 secs ago







Chrome extension analyse DOM in background.js?

Aucun commentaire:

Enregistrer un commentaire