Skip to content

People complaining that the global shortcut option doesn't do anything  #15

@karac38

Description

@karac38

You can read comments here:
https://chrome.google.com/webstore/detail/meet-mute/dkgoclojlihiolngeagmhkjiglmoeeic?hl=en

I found out that in meetmute.js you are using KeyboardEvent :

const keydownEvent = new KeyboardEvent('keydown', {
  "key": "d",
  "code": "KeyD",
  "metaKey": true,
  "charCode": 100,
  "keyCode": 100,
  "which": 100
})

which supposed to be:

const keydownEvent = new KeyboardEvent('keydown', {
  key: "d",
  keyCode: 68, 
  code: "KeyD", 
  which: 68,
  shiftKey: false,
  ctrlKey: true, 
  metaKey: false 
});

image

This simple change will make the add on work properly again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions