Duck Click Quacker banner

Duck Click Quacker

4 devlogs
1h 4m 24s

Duck Click Quacker is a Chromium browser extension that plays random duck sounds when you click anywhere on a webpage.

Sounds trigger at random intervals so it doesn’t play on every click, and when a quack happens a small duck briefly pops up on the page.

The extension works across all sites and includes a popup toggle to enable or disable it

Picklerick

Shipped this project!

I built Duck Click Quacker, a Chromium browser extension that plays random duck sounds when you click anywhere on a webpage.

The sounds trigger at random intervals so it doesn’t play on every click, and when a quack happens a small duck briefly pops up on the page. There’s also a popup toggle to enable or disable the extension.

While building it, I learned how Manifest V3 extensions work, how to correctly load audio using web_accessible_resources, and how to handle timing/probability logic without spamming events. I also set up proper icon generation and a simple popup UI.

Picklerick

Dev Log #2 — Duck Click Quacker is finished 🦆✅

Today I finished the extension. It now plays a random duck sound on normal mouse clicks across any webpage, with a faster random interval so it triggers more often. I added a popup menu with an enable/disable toggle, and set up a proper extension logo (generated the required 16/32/48/128 icons using ImageMagick).

I also added a visual gag: when a quack plays, a little duck pops up near the click and fades out.

Problems solved along the way:

Fixed audio file paths + web_accessible_resources so the sounds load reliably from the /sounds folder (quack.mp3, quackk.mp3).

Fixed the quack probability/cooldown logic so it matches the configured chance and doesn’t spam.

Got the icon pipeline working properly instead of manually resizing everything.

Next idea (maybe): add sliders for volume/frequency and a per-site blacklist.

2

Comments

FarciarzYT
FarciarzYT 3 days ago

quack ; 3

Picklerick
Picklerick 3 days ago

hehe. Quack quack

Picklerick

I have started by creating the structure of the extension and getting the audio needed for the sound effects. I am starting on the manifest and then working on the background.

Attachment
0