I have 2 technical queries related to mozilla development.
1- I want to disable system sleep/hibernate and screen saver while my video is playing.
Can I implement this feature using any of the Mozilla API or component? If so, which API or component will help me to do this?
2- I want to check whether I am connected to internet or not. Is there any API or component which gives me the information about internet connected status?
Thanks,
Saj.