1
0
mirror of https://github.com/chylex/Transparent-Twitch-Chat.git synced 2024-10-18 01:42:47 +02:00

Compare commits

..

No commits in common. "f3d88aaf0644e14b9ffbe21ccf05e1ab17a6f92e" and "e73252c972342b80440ce9cb7cd2661911615e1b" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View File

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

View File

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