-4

Like title, i want create a function using javascript and php. This function will be process keyboard press. example, i dont need press ctrl and Prt Scr to capture screen. I want take it with javascript. No press key, just do it with javascript. HOW I CANT DO IT? Please help me!!!

piddl0r
  • 2,431
  • 2
  • 23
  • 35
huy hoang
  • 43
  • 3

1 Answers1

1

The Prt Sc (Print Screen) button cannot be checked through Javascript (or PHP for that matter..). It's a system bound button, which you can't trigger or check using the browser. Read the answer on this topic for more help: disable print screen key using javascript That also means you can't use the Prt Sc (Print Screen) button. You cannot trigger it with Javascript.

Community
  • 1
  • 1
MortenMoulder
  • 6,138
  • 11
  • 60
  • 116