I use this ff add-on which adds a handy button direct to the player itself: https://github.com/gurumukhi/youtube-screenshot

looks like it just renders the current frame to a canvas element and saves it. https://github.com/gurumukhi/youtube-screenshot/blob/master/...