[Project_owners] Find time duration of Firefox-inactivity

InBasic inb.cor at gmail.com
Sun Aug 10 21:12:28 PDT 2008


Thanks Neil, this is exactly what I am looking for

On Mon, Aug 11, 2008 at 00:37, Neil Deakin <enndeakin at gmail.com> wrote:

> 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
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/project_owners/attachments/20080811/e603cde6/attachment.html>


More information about the Project_owners mailing list