Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Hide second stream button as it is currently broken
Browse files Browse the repository at this point in the history
  • Loading branch information
maltejur committed Mar 22, 2024
1 parent 64bacdb commit 4f91637
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ SPDX-License-Identifier: GPL-3.0-or-later */
.vc-backup-restore {
display: none;
}

/* The round buttons in the voice chat interface */
.wrapper__3f3a7 > div > div > .controlButton_ab2899 {
display: none;
}
8 changes: 4 additions & 4 deletions assets/userscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ let userscriptPromise;
document.getElementsByClassName("actionButtons_b58cbb")?.[0]
?.children[1],
// The round buttons in the voice chat interface
document.querySelector(
".wrapper__3f3a7 > div > div > div > div > .controlButton_ab2899"
),
// document.querySelector(
// ".wrapper__3f3a7 > div > div > div > div > .controlButton_ab2899"
// ),
]) {
if (!el) continue;
if (el.classList.contains("discord-screenaudio-cloned")) continue;
Expand Down Expand Up @@ -278,7 +278,7 @@ let userscriptPromise;
// Add event listener for keybind tab
if (
// The notice about downloading the client to get access to keybinds
// This will not show up in the official desktop client.
// This will not show up in the official desktop client.
document
.getElementById("keybinds-tab")
?.getElementsByClassName(
Expand Down

0 comments on commit 4f91637

Please sign in to comment.