I am new to creating add ons on firefox. Also a bit confused on which approach to take. I found 2 tutorials:
I want to load a webpage without showing it in another tab and do some parsing on it.. I found the 2nd link's tutorial easier to use and learn but I am not able to find the right apis for my task in that.
The SDK's page-worker module does exactly what you want:
https://addons.mozilla.org/en-US/developers/docs/sdk/1.13/modules/sdk/page-worker.html