You are browsing as a guest. Sign up (or log in) to start making projects!

The Station of Appreciation for Understimulation

  • 1 Devlogs
  • 2 Total hours

A simple browser extension that limits the amount of YouTube tabs you have open

Ship #1 Pending review

2 hours of coding and I’m fully done with my first browser extension! I mostly made this to teach myself how to make extensions for both Chromium and Firefox (which are actually extremely similar, good to know!)

All it does is listen for when a new YouTube tab is opened, checks how many you already have open, and closes it if there are too many. It also uses the storage API to save the user preference of how many they can have open at a time. Hopefully this helps to stop someone’s (and my) future unhealthy binging session.

Making this was basically a sequence of copying generic code from Chrome’s docs, making some slight tweaks by looking at docs, rinse and repeat. AI was occasionally used when debugging the insanely vague error messages JS gives.

  • 1 devlog
  • 2h
Try project → See source code →
Open comments for this post

2h 2m 1s logged

2 hours of coding and I’m fully done with my first browser extension!
I mostly made this to teach myself how to make extensions for both
Chromium and Firefox (which are actually extremely similar, good to
know!)
All it does is listen for when a new YouTube tab is opened, checks
how many you already have open, and closes it if there are too many. It
also uses the storage API to save the user preference of how many they
can have open at a time. Hopefully this helps to stop someone’s (and my)
future unhealthy binging session.
Making this was basically a sequence of copying generic code from
Chrome’s docs, making some slight tweaks by looking at docs, rinse and
repeat. AI was occasionally used when debugging the insanely vague error
messages JS gives.

1
0
6

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…