Closed jumoog closed 1 month ago
the PR for #149
Ironically setTimeout is one of the functions that the security stuff complains about. If you add an event handler in javascript and one already exists, does it append? In java it does, but it's been a while since I had to think about "what if someone else is using enter"
It's probably irrelevant, but I typically target keyup because that implies it was pressed and released. Keeps it from triggering until the cat steps off the keyboard.
It's irrelevant because I set usecapture true
for addEventListener
. The keyup
event is still handled by jellyfin. (display the video OSD)
The Enter key works normally all the time. If the intro button is visible, the intro will be skipped instead of pausing the video and the Enter key will not work for the next 5 seconds.
And setTimeout
is used alot in jellyfin-web
And
setTimeout
is used alot injellyfin-web
The function itself is harmless. What triggers the flags is how, when, and who ran it. It's not like it really matters, given the way plugins work in general.
works 👍
It was so close to being impossible to do 😂
tested with LG webOS