Skip to main content

YouTube Shorts Firefox Extension

Earlier this month I tried my hand at making a Firefox extension.

Firefox Extension

I found myself in need of a Firefox extension that redirects YouTube Shorts to their respective “watch” pages.

From "https://www.youtube.com/shorts/<video-id>" to "https://www.youtube.com/watch?v=<video-id>".

I decided to tackle this issue myself rather than searching for an existing extension. This gave me an opportunity to learn about Firefox extensions and how they’re created. What I ended up with definitely isn’t my best work but it does the job and I now have a much better understanding of how Firefox extensions are structured and what permissions they require.

Wrap Up

If you can spare the time, it may benefit you to create something yourself rather than getting it elsewhere. This is not unique to programming. For example, you may decide to cook a meal you’re craving rather than ordering it. Whatever it is, just give it your best shot and odds are you’ll learn something from it.