diff --git a/src/broadcast.html b/src/broadcast.html
deleted file mode 100644
index aef3254..0000000
--- a/src/broadcast.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
- Imgfloat Broadcast
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/css/broadcast.css b/src/css/broadcast.css
deleted file mode 100644
index fd87c51..0000000
--- a/src/css/broadcast.css
+++ /dev/null
@@ -1,20 +0,0 @@
-.broadcast-body {
- margin: 0;
- overflow: hidden;
- background: transparent;
-}
-
-.broadcast-body canvas {
- position: absolute;
- top: 0;
- left: 0;
- pointer-events: none;
-}
-
-[id="broadcast-canvas"] {
- z-index: 1;
-}
-
-[id="broadcast-script-canvas"] {
- z-index: 2;
-}
diff --git a/src/css/toast.css b/src/css/toast.css
deleted file mode 100644
index 9edb837..0000000
--- a/src/css/toast.css
+++ /dev/null
@@ -1,90 +0,0 @@
-.toast-container {
- position: fixed;
- bottom: 16px;
- right: 16px;
- display: flex;
- flex-direction: column;
- gap: 12px;
- z-index: 10000;
- max-width: 360px;
-}
-
-.toast {
- display: grid;
- grid-template-columns: auto 1fr;
- gap: 12px;
- align-items: center;
- padding: 12px 14px;
- border-radius: 12px;
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
- border: 1px solid rgba(255, 255, 255, 0.08);
- background: #0b1221;
- color: #e5e7eb;
- cursor: pointer;
- transition:
- transform 120ms ease,
- opacity 120ms ease;
-}
-
-.toast:hover {
- transform: translateY(-2px);
-}
-
-.toast-exit {
- opacity: 0;
- transform: translateY(-6px);
-}
-
-.toast-indicator {
- width: 12px;
- height: 12px;
- border-radius: 50%;
- background: #a5b4fc;
- box-shadow: 0 0 0 4px rgba(165, 180, 252, 0.16);
-}
-
-.toast-message {
- margin: 0;
- font-size: 14px;
- line-height: 1.4;
-}
-
-.toast-success {
- border-color: rgba(34, 197, 94, 0.35);
- background: rgba(16, 185, 129, 0.42);
-}
-
-.toast-success .toast-indicator {
- background: #34d399;
- box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
-}
-
-.toast-error {
- border-color: rgba(239, 68, 68, 0.35);
- background: rgba(248, 113, 113, 0.42);
-}
-
-.toast-error .toast-indicator {
- background: #f87171;
- box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.2);
-}
-
-.toast-warning {
- border-color: rgba(251, 191, 36, 0.35);
- background: rgba(251, 191, 36, 0.42);
-}
-
-.toast-warning .toast-indicator {
- background: #facc15;
- box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.2);
-}
-
-.toast-info {
- border-color: rgba(96, 165, 250, 0.35);
- background: rgba(96, 165, 250, 0.12);
-}
-
-.toast-info .toast-indicator {
- background: #60a5fa;
- box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
-}
diff --git a/src/index.html b/src/index.html
index 8cdfd84..befe6d0 100644
--- a/src/index.html
+++ b/src/index.html
@@ -81,16 +81,13 @@
const channel = input.value.trim();
const fallbackDomain = domainInput.placeholder || "";
const domain = domainInput.value.trim() || fallbackDomain;
- if (!channel) return;
+ if (!channel) {
+ return
+ };
- if (domain) {
- window.store.saveDomain(domain);
- }
const params = new URLSearchParams({ broadcaster: channel });
- if (domain) {
- params.set("domain", domain);
- }
- window.location.href = `broadcast.html?${params.toString()}`;
+ window.store.saveDomain(domain);
+ window.location.href = `${domain}/view/${encodeURIComponent(channel)}/broadcast`;
});