Skip to content

Instantly share code, notes, and snippets.

@arnvgh
Created December 27, 2022 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arnvgh/6d759ee307c87c8aa484ea5643b18053 to your computer and use it in GitHub Desktop.
Save arnvgh/6d759ee307c87c8aa484ea5643b18053 to your computer and use it in GitHub Desktop.
document.addEventListener('keydown', function(event) {
if (event.key === 'YOUR_KEYBINDING'') {
// Get the element with the class
var element = document.getElementsByClassName("text-sm-bold-1Dtt0R mentionButton-3C5YMI")[0];
element.click();
}
});
// Well, After writing this script I came to know that there is some easy way to for turnign of the ping, you can just press shift, then click on reply, it wil not ping the user.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment