add about message again
This commit is contained in:
parent
9eae8bbe4f
commit
9d9e57df1e
|
@ -131,28 +131,28 @@ setInterval(() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add about text in settings
|
// Add about text in settings
|
||||||
// if (
|
if (
|
||||||
// document.getElementsByClassName("dirscordScreenaudioAboutText").length == 0
|
document.getElementsByClassName("dirscordScreenaudioAboutText").length == 0
|
||||||
// ) {
|
) {
|
||||||
// for (const el of document.getElementsByClassName("info-3pQQBb")) {
|
for (const el of document.getElementsByClassName("info-3pQQBb")) {
|
||||||
// let aboutEl;
|
let aboutEl;
|
||||||
// if (window.discordScreenaudioKXMLGUI) {
|
if (window.discordScreenaudioKXMLGUI) {
|
||||||
// aboutEl = document.createElement("a");
|
aboutEl = document.createElement("a");
|
||||||
// aboutEl.addEventListener("click", () => {
|
aboutEl.addEventListener("click", () => {
|
||||||
// console.log("!discord-screenaudio-about");
|
console.log("!discord-screenaudio-about");
|
||||||
// });
|
});
|
||||||
// } else {
|
} else {
|
||||||
// aboutEl = document.createElement("div");
|
aboutEl = document.createElement("div");
|
||||||
// }
|
}
|
||||||
// aboutEl.innerText = `discord-screenaudio ${window.discordScreenaudioVersion}`;
|
aboutEl.innerText = `discord-screenaudio ${window.discordScreenaudioVersion}`;
|
||||||
// aboutEl.style.fontSize = "12px";
|
aboutEl.style.fontSize = "12px";
|
||||||
// aboutEl.style.color = "var(--text-muted)";
|
aboutEl.style.color = "var(--text-muted)";
|
||||||
// aboutEl.style.textTransform = "none";
|
aboutEl.style.textTransform = "none";
|
||||||
// aboutEl.classList.add("dirscordScreenaudioAboutText");
|
aboutEl.classList.add("dirscordScreenaudioAboutText");
|
||||||
// aboutEl.style.cursor = "pointer";
|
aboutEl.style.cursor = "pointer";
|
||||||
// el.appendChild(aboutEl);
|
el.appendChild(aboutEl);
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
|
|
||||||
// Remove stream settings if stream is active
|
// Remove stream settings if stream is active
|
||||||
document.getElementById("manage-streams-change-windows")?.remove();
|
document.getElementById("manage-streams-change-windows")?.remove();
|
||||||
|
|
Loading…
Reference in New Issue