From 5af7121ef495ce4d04b39da470331dd6421025d9 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 11 Dec 2025 23:14:29 +0500 Subject: initial commit --- chat.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 chat.js (limited to 'chat.js') diff --git a/chat.js b/chat.js new file mode 100644 index 0000000..080fb4c --- /dev/null +++ b/chat.js @@ -0,0 +1,5 @@ +function getChannelName() { + const path = window.location.pathname.split('/').filter(Boolean); + if (path.length == 1) return path[path.length - 1]; + return null; +} \ No newline at end of file -- cgit v1.2.3