Subj : js version of user default To : GitLab note in main/sbbs From : Rob Swindell Date : Wed Sep 13 2023 11:28 am https://gitlab.synchro.net/main/sbbs/-/merge_requests/331#note_4030 `return;` only works from within a function. It appears this code is not within a function, so that's why the error. `exit()` would be fine in that case. .