mirror of
https://github.com/chylex/Transparent-Twitch-Chat.git
synced 2024-11-25 09:42:45 +01:00
Compare commits
3 Commits
e73252c972
...
f3d88aaf06
Author | SHA1 | Date | |
---|---|---|---|
f3d88aaf06 | |||
d3959a9d7b | |||
6c169b3b0f |
6
dist/TransparentTwitchChat.user.js
vendored
6
dist/TransparentTwitchChat.user.js
vendored
@ -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.8
|
// @version 1.4.9
|
||||||
// @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"] {display:none}
|
${rcol} .chat-badge[alt="Prime Gaming"] {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-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){
|
if (!chat){
|
||||||
return false;
|
return false;
|
||||||
|
@ -383,7 +383,7 @@ ${settings.hideBadgeTurbo ? `@#css{{
|
|||||||
@#css}}` : ``}
|
@#css}}` : ``}
|
||||||
|
|
||||||
${settings.hideBadgePrime ? `@#css{{
|
${settings.hideBadgePrime ? `@#css{{
|
||||||
${rcol} .chat-badge[alt$="Prime"] {
|
${rcol} .chat-badge[alt="Prime Gaming"] {
|
||||||
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-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){
|
if (!chat){
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user