This is a JavaScript one-liner that works in the Slack web interface.

// this code is a work in progress
document.querySelectorAll('*').forEach(element =>
  element.addEventListener('scroll', () =>
      .filter(element => RegExp('some-username').test(element.textContent))
      .forEach(element => ( = 'none'))

In Firefox, I paste this one-liner into the Web Console to mute any user with whom I temporarily want to be less spontaneous and more intentional. Notifications still come through.


  1. Ctrl+Shift+K
  2. Ctrl+V
  3. ENTER

Title image from I, Laurascudder [CC BY-SA (].