0

I want an exe file running in background of a webpage and each timei pr ess ctrl+alt+s the counter should increase by one. Can i code in jscript or use shell script. If yes which tool to use and how to?

How to code it .

  • https://stackoverflow.com/questions/12111262/simple-javascript-keystroke-count – Leo Mar 14 '18 at 08:59
  • Do you already know that php is executed on server side? How will it work to count the number of key combination? – Reporter Mar 14 '18 at 09:01
  • oops my bad! okay can you give some other insight – Shyam kumar Mar 14 '18 at 09:21
  • Possible duplicate of [simple javascript keystroke count](https://stackoverflow.com/questions/12111262/simple-javascript-keystroke-count) – Dawid Fieluba Mar 14 '18 at 09:44
  • Possible duplicate of [Detecting combination keypresses (Control, Alt, Shift)?](https://stackoverflow.com/questions/37557990/detecting-combination-keypresses-control-alt-shift) – Leo Mar 14 '18 at 09:45
  • okay can i use tamper monkey for this? if yes can i use the follwing script document.addEventListener ("keydown", function (zEvent) { if (zEvent.ctrlKey && zEvent.altKey && zEvent.code === "KeyS") { // DO YOUR STUFF HERE } } ); – Shyam kumar Mar 14 '18 at 09:56

0 Answers0