JavaScript-您能否檢測到用戶或應用觸發了事件? [英]JavaScript - Can you detect wether an event was triggered by the user or the app?