diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-11 23:14:29 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-11 23:14:29 +0500 |
| commit | 5af7121ef495ce4d04b39da470331dd6421025d9 (patch) | |
| tree | 70663989f25929cc0bde7923e42babdc7f50ea3e /chat.js | |
initial commit
Diffstat (limited to 'chat.js')
| -rw-r--r-- | chat.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |
