Skip to content

Instantly share code, notes, and snippets.

@pundoo
Last active July 3, 2021 16:28
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 pundoo/8ab946375a11bd9eb1761158bcf4b94a to your computer and use it in GitHub Desktop.
Save pundoo/8ab946375a11bd9eb1761158bcf4b94a to your computer and use it in GitHub Desktop.
Twitch - Disable all channel notifications & Enable selected

// mostly useful for browser notification where you don't wanna get bombarded //

Disable

  • Goto: Settings > Notifications > Per Channel (expand until stops loading, use 'End' key for convenience)
  • Enter in console: [...document.querySelectorAll('input[type="checkbox"]')].filter((e,i)=>i>47).forEach(e => e.click()) (page might go unresponsive, don't close the tab, don't click anything else on the page, wait..)

Note: in code 47 is subject to change.

Enable

  • Find the channel name and enable notification (use 'Ctrl+F' for convenience)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment