Last active
March 4, 2024 07:12
-
-
Save unitycoder/09ed5c5d1d234cedcdfa6f1ece9b7295 to your computer and use it in GitHub Desktop.
[GreaseMonkey] Twitch: Fix Channel Points Tooltip from Blocking Claim Points Button
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Twitch: Fix Channel Points Tooltip from Blocking Claim Points Button | |
| // @namespace https://unitycoder.com | |
| // @version 1.0 | |
| // @run-at document-start | |
| // @include https://www.twitch.tv/* | |
| // @grant none | |
| // ==/UserScript== | |
| function AppendStyle(cssStr) { | |
| var D = document; | |
| var newNode = D.createElement ('style'); | |
| newNode.textContent = cssStr; | |
| var targ = D.getElementsByTagName ('head')[0] || D.body || D.documentElement; | |
| targ.appendChild (newNode); | |
| } | |
| AppendStyle('[data-test-selector="chat-input-buttons-container"] div:first-child > div:first-child {order: 2;}'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment