When you are watching a youtube video, the macro below allows you to get rid of the huge area of distracting screen real-estate taken up by suggestions (right sidebar) and comments below the video using the known technique of replacing youtube with yout-ube (- after the t, NOT you-tube)
It works fine.
I don't find the ending using keypresses very elegant. Would you have any suggestions? The macro works. I am asking because I want to improve my KM programming skills.
I could also confirm at the beginning that the user is watching youtube
(Slightly off-topic: There are highly customisable browser add-ons for an improved YouTube experience like Enhancer for YouTube. You can also block unwanted parts by using a content blocker.)