todo:
- handle iphashpermlevel to not send IP for users without perms (separate room? seems easiest)
- make sure lastpostId, reply adding, etc doesnt get all fucked up because of multi threads on one page
Pale Moon doesn't like specifying an "alternate stylesheet" without a title (and
specifying title creates more problems), so just set rel to an empty string.
Seems to work in Pale Moon and chromium, but I think this should be generally ok
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
> In this case, on <link> and <form>, if the rel attribute is absent, has no
> keywords, or if not one or more of the space-separated keywords above, then
> the element does not create any links.
still TOOD: make them toggleable, and some more testing
but so far works, and post updates are handled
renamed 'hidden' localstorage to prevent issues for previous users
`hour12` overrides `hourCycle` and in case of chome, `en-US` locale and `hour12
= true` defaults to h24, which results in batshit crazy timestamps of `24:04:23`
and the like. Removing `hour12` fixes this issue. But Pale Moon apparently
doesn't support `hourCycle`, so use a hack instead that seems to work both in
Pale Moon and chrome.
Also fix the pug files, because it looks like node has the same problem, even
with `undefined` locale (no need for workarounds here).
According to [MDN], selectorText is readonly in some browsers, and it looks like
Pale Moon is one of them. Because of this, catalog filtering in Pale Moon only
works until one character. Workaround this by always removing the style rule and
readding with the new selector.
[MDN]: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText