Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

Jquery/Javascript method for triggering event when system is locked(Windows+L or Auto Lock)  RSS feed

 
sanuji pillai
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

I am looking for any method in java-script/jquery for triggering event when system-monitor is locked (Windows+L or Auto Lock), that time we need to push an entry to the database through Ajax Call.


Thank You,

Sanuji.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
If the browser is not in focus, I highly doubt you will catch the key events. There is also no events that tell you if the computer is locked, there really is no reason why a browser should know it.

 
sanuji pillai
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thank You Eric.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once. This one has been closed.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!