I was able to find code for getting current keyboard language on-key-press, but I want to get this data on-click. Meaning, when the user click on screen -> alert('EN/FR/SP').
Maybe it's an OS issue and not related to browser, but is there a way to create a code like this (Javascript or other)?