fix: update obs description

This commit is contained in:
2026-06-20 04:23:07 +05:00
parent e40f8562c9
commit 5d4c8196be
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -11,12 +11,12 @@
<div id="channel-form"> <div id="channel-form">
<div class="screen-title">SHOOTING WORD</div> <div class="screen-title">SHOOTING WORD</div>
<div class="screen-subtitle">Введите имя канала для игры</div> <div class="screen-subtitle">Введите имя канала для игры</div>
<input type="text" id="channel-input" placeholder="ku6ep_xboctuk" autofocus /> <input type="text" id="channel-input" placeholder="Ku6ep_XBOCTuK" autofocus />
<button id="copy-btn">СКОПИРОВАТЬ ССЫЛКУ</button> <button id="copy-btn">СКОПИРОВАТЬ ССЫЛКУ</button>
<div id="game-link"></div> <div id="game-link"></div>
<div class="obs-note"> <div class="obs-note">
Вставь ссылку в OBS как источник браузера<br /> Вставь ссылку в OBS как источник браузера<br />
(500×950, прокрутка выкл.) Желательно высоту побольше
</div> </div>
</div> </div>
</div> </div>
@@ -26,7 +26,7 @@
const linkEl = document.getElementById("game-link"); const linkEl = document.getElementById("game-link");
function copyLink() { function copyLink() {
const name = input.value.trim().toLowerCase() || "ku6ep_xboctuk"; const name = input.value.trim().toLowerCase() || "Ku6ep_XBOCTuK";
const url = `${location.origin}${location.pathname.replace(/\/[^/]*$/, "/")}game.html?channel=${encodeURIComponent(name)}`; const url = `${location.origin}${location.pathname.replace(/\/[^/]*$/, "/")}game.html?channel=${encodeURIComponent(name)}`;
navigator.clipboard.writeText(url).then(() => { navigator.clipboard.writeText(url).then(() => {
linkEl.textContent = "СКОПИРОВАНО!"; linkEl.textContent = "СКОПИРОВАНО!";
-1
View File
@@ -210,6 +210,5 @@ body {
font-size: 16px; font-size: 16px;
opacity: 0.8; opacity: 0.8;
line-height: 1.6; line-height: 1.6;
max-width: 340px;
text-shadow: 0 0 6px #00ff41; text-shadow: 0 0 6px #00ff41;
} }