This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

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

 
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
Pie
Posts: 64629
86
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.
 
    Bookmark Topic Watch Topic
  • New Topic