I was watching a series and had to shift my subtitles by 38 seconds every time I open a video. After a few times of pain, I ended up writing a script to cut the crap, have some fun, and get a bit into NodeJS file I/O! 😀
Continue readingMonthly Archives: February 2019
React: How To Prompt User of Unsaved Data before Leaving Site
There’s a specific function for this: beforeunload
.