keecode logokeecode

AudioVolumeMute

181

mute/unmute (firefox)

event.keyCode

181

event.key

AudioVolumeMute

event.code

VolumeMute

Unicode

n/a

Code Examples

Copy and paste these examples to detect the AudioVolumeMute key in your JavaScript code

Recommended modern approach

// Modern approach (recommended)
document.addEventListener('keydown', (e) => {
  if (e.key === 'AudioVolumeMute') {
    console.log('AudioVolumeMute key pressed!');
    // Your code here
  }
});

Related Keys

Other keys commonly used together or in similar contexts