F28
139
F28
event.keyCode
139
event.key
F28
event.code
F28
Unicode
n/a
Code Examples
Copy and paste these examples to detect the F28 key in your JavaScript code
Recommended modern approach
// Modern approach (recommended)
document.addEventListener('keydown', (e) => {
if (e.key === 'F28') {
console.log('F28 key pressed!');
// Your code here
}
});Related Keys
Other keys commonly used together or in similar contexts