I’m developing a Firefox add-on and want to get the document content (DOM Elements) of an URL for parsing some data but don’t want user to see this action. Is there any way to open an URL in a hidden tab and get the document content of this tab? Or any other solution?
I’m developing a Firefox add-on and want to get the document content (DOM Elements)
Share
you could use Javascript to do that. Have a closer look at the xmlhttpRequest function.
http://en.wikipedia.org/wiki/XMLHttpRequest