Compare commits

...

3 Commits

Author SHA1 Message Date
chylex f3d88aaf06
Release 1.4.9 2022-04-27 23:40:46 +02:00
chylex d3959a9d7b
Fix hiding Prime badge not working 2022-04-27 23:40:39 +02:00
chylex 6c169b3b0f
Fix chat filters not working in live streams 2022-04-27 23:40:38 +02:00
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name Transparent Twitch Chat
// @description Why decide between missing a PogChamp or sacrificing precious screen space, when you can have the best of both worlds!
// @version 1.4.8
// @version 1.4.9
// @namespace https://chylex.com
// @homepageURL https://github.com/chylex/Transparent-Twitch-Chat
// @supportURL https://github.com/chylex/Transparent-Twitch-Chat/issues
@ -171,7 +171,7 @@ ${settings.hideBadgeTurbo ? `
${rcol} .chat-badge[alt="Turbo"] {display:none}
` : ``}
${settings.hideBadgePrime ? `
${rcol} .chat-badge[alt$="Prime"] {display:none}
${rcol} .chat-badge[alt="Prime Gaming"] {display:none}
` : ``}
${settings.hideBadgeSubscriber ? `
${rcol} .chat-badge[alt~="Subscriber"] {display:none}
@ -285,7 +285,7 @@ var filtersObserver = new MutationObserver(function(mutations){
});
function refreshChatFilters(){
const chat = document.querySelector(".chat-list__lines .simplebar-content > div, .video-chat__message-list-wrapper ul");
const chat = document.querySelector(".chat-scrollable-area__message-container, .video-chat__message-list-wrapper ul");
if (!chat){
return false;

View File

@ -383,7 +383,7 @@ ${settings.hideBadgeTurbo ? `@#css{{
@#css}}` : ``}
${settings.hideBadgePrime ? `@#css{{
${rcol} .chat-badge[alt$="Prime"] {
${rcol} .chat-badge[alt="Prime Gaming"] {
display: none;
}
@#css}}` : ``}
@ -652,7 +652,7 @@ var filtersObserver = new MutationObserver(function(mutations){
});
function refreshChatFilters(){
const chat = document.querySelector(".chat-list__lines .simplebar-content > div, .video-chat__message-list-wrapper ul");
const chat = document.querySelector(".chat-scrollable-area__message-container, .video-chat__message-list-wrapper ul");
if (!chat){
return false;