Skip to content

Instantly share code, notes, and snippets.

@Shilo Shilo/_how_to_in_chrome.md
Last active Sep 27, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.