NoSleep.js
NoSleep.js copied to clipboard
added the option to specify a title when the enable function is called
Hey man! I'm Marco, a Frontend Developer from Barcelona. I added a small feature to your already awesome package (good job btw, you saved me). I hope you like what i added even though it's not a big thing.
This PR contains a:
- [ ] bugfix
- [x] new feature
- [ ] code refactor
- [ ] test update
- [ ] typo fix
- [ ] metadata update
Motivation / Use-Case
I needed to show a particular video title when an IOS device is locked. As you can see here the "NoSleep" title is shown:

I just wanted the possibility to customize it a little bit :)
Thank you Marco 👑 I also ran into the need to customize the title, so I was happy to see that someone has already taken care of it