Skip to content

New CSS selectors for mic/camera buttons#4

Open
vljosa-vivodyne wants to merge 1 commit intostffffn:masterfrom
vljosa-vivodyne:vljosa-new-selectors
Open

New CSS selectors for mic/camera buttons#4
vljosa-vivodyne wants to merge 1 commit intostffffn:masterfrom
vljosa-vivodyne:vljosa-new-selectors

Conversation

@vljosa-vivodyne
Copy link

Chrome seems to no longer have the keyboard shortcut in the aria-label of the microphone and camera buttons, so selectors like aria-label*="+ d" no longer worked.

Update the selectors to match the new labels, e.g., aria-label="Turn off microphone".

This will break for users with non-English localization in Chrome. The "Turn off microphone (⌘ + d)" text is now in a div that is a sibling to the button, so matching on that would be a larger change that I'm not comfortable making. Since the extension was broken already, this PR is an improvement even if it does not fix it for all users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant