Skip to content

Instantly share code, notes, and snippets.

@Shilo
Last active September 27, 2019 07:18
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 Shilo/9a52eb89c5c36c7a8fff2fb3db714c0b to your computer and use it in GitHub Desktop.
Save Shilo/9a52eb89c5c36c7a8fff2fb3db714c0b to your computer and use it in GitHub Desktop.
Hide Twitch subscription badges. Why? I don't know. For fun.

In chrome desktop browser:

  • Copy the below text of "hide_subs_badset.js" file.
  • Go to the tab of the active twitch channel you want to hide the subscription badges.
  • Press Ctrl+Shift+J to open Javascript console window.
  • Paste the previously copied text in the console window and press enter.
  • Enjoy the hidden badges, because I don't know. For fun?
(function() { var css = `img[aria-label~="Subscriber"]{display: none;}`; var cssDiv = document.createElement('div'); cssDiv.innerHTML = '&shy;<style>' + css + '</style>'; document.body.appendChild(cssDiv.childNodes[1]); })();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment