This is like https://greasyfork.org/en/scripts/7365-youtube-pic-link
that works on current YouTube layout.
It adds two buttons, one to high res picture and one to default video miniature picture.
There are two buttons because I don't want to make requests in JS and sometimes the high res picture is not present.
I can also no longer look for og:image tag because it's not there.
Also works on dark theme (buttons become black).