InBasic wrote:
Hi there,
I am interested if any body can suggest a way to find out how much
time Firefox is inactive from last use ? (maybe track mouse &
keyboard move,..)
P.S: I want to add feature to "Auto shutdown" extension to
shutdown,hibernate,.. PC after specific time of inactivity of Firefox
(suggested by a user)
You can do this with nsIIdleService, but I don't think there's a way to
shutdown or ask for a shutdown of the system. You could shut down
Firefox though.
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners