How do i create an add-on, which will still run in background or (Mini Tray) and also make the browser to run in background.
Are you asking about something like ChromeWorkers? https://developer.mozilla.org/en-US/docs/Web/API/ChromeWorker
No, I have gone through your article. Its quite different.
Let me explain you in simple words. I want my addon to work in such a way, that it forces the browser to work in background. Even if the user tries to close the browser.
For Example : Let Say I created a Add-On for my Facebook Notification. I clicked on the addon. complted the sign in process and automatic notification start to get updated with a sound.
Now, I closed the browser, So all i want that the addon should not stop running. Instead it will force the browser to to run in background and also will give the access to the addon to run in it respectively.
An add-on can’t override the user’s choice to close Firefox. At least on Windows you can’t keep Firefox running without any windows being opened, so I don’t think you’ll be able to accomplish what you want.