Automatically saves and resumes YouTube videos from where you left off, with playlist, Shorts, and preview handling, plus automatic cleanup.
< Feedback on YouTube - Resumer
TBH I don't really know for sure, I've always had this script set to expire videos eventually even in the days before I uploaded it here. You could probably put any number you wanted from 1 all the way up to well I would presume an infinite amount, it's just a matter of if the userscript manager you are using will actually support the amount of data you are storing eventually.
I'm giving this a-go.
Am curious about
DAYS_REGULAR = 90; // normal videos expire after 90 days
-- is there any downside to NOT expire entries? If so desired, what's number could we put there?