I've applied the suggested fixes, but I'm still getting a 'loss of control' when running videos (not only Youtube) - I'm unable to adjust volume or pause (so I have to close the window if I want to alter things).
I'm not getting the messages about the scripts (but maybe that's because I ticked the window that 'gives permission' to whatever the question was).