There’s no external program, it’s just an extension on my browser
That's... external software. But even if it wasn't, it's still circumventing the youtube terms of service with software.
You're breaking the terms of service of youtube by doing this... that makes it piracy...
