Skip to content

Instantly share code, notes, and snippets.

@portablejim
Created March 1, 2018 10:01
Show Gist options
  • Save portablejim/dc33eed3fdc9971bff836a73c334106b to your computer and use it in GitHub Desktop.
Save portablejim/dc33eed3fdc9971bff836a73c334106b to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Twitch.tv: Hide top cheer/bits
// @version 1
// @grant none
// @include https://*.twitch.tv/*
// ==/UserScript==
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = '.pinned-cheer-v2 { display: none !important; }';
document.getElementsByTagName('head')[0].appendChild(style);
console.log("Blocked cheer element via css")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment