cd /news/developer-tools/show-hn-block-distracting-sites-with… · home topics developer-tools article
[ARTICLE · art-51203] src=sphinx.fyi ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Show HN: Block distracting sites with a math or coding problem

A developer built a Chrome extension that blocks distracting websites until users solve a math or coding problem, aiming to create a speed bump rather than a hard gate. The tool also helps users practice math and coding skills without requiring dedicated study time.

read1 min views2 publishedJul 8, 2026

TLDR built a Chrome site blocker that lets you into distracting sites only after you do some math or simple coding (JS only right now).

Philosophically it's a speed bump rather than a hard gate, because you'll eventually tear a gate down but you'll leave a speed bump. I've always eventually removed site blockers, or just had them become a nuisance that I reflexively dismiss before getting to distracting sites. Site blockers don't really reduce the "start navigating to a distracting site" muscle memory, and they eventually just become annoying. Dopamine is a hell of a drug.

At the same time, I've been getting frustrated that my intermediate/advanced math skills have atrophied, and becoming more senior in my career (plus AI...) has caused my coding skills to atrophy even further. Realistically I'm not going to force myself to do math or coding exercises after dinner, I'm an adult with other adult things to do. So this is a compromise where I can set up the practice problems in a place where I know I'm going to go.

So I built an extension where the gate (/punishment) requires you to do some math, solving both problems at once. There's no data transmitted off of your client, no subscriptions, and the permission to view sites is only used for the (obvious) reason of blocking them.

Check it out!

Comments URL: [https://news.ycombinator.com/item?id=48832054](https://news.ycombinator.com/item?id=48832054)

Points: 1

── more in #developer-tools 4 stories · sorted by recency
── more on @chrome 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-block-distra…] indexed:0 read:1min 2026-07-08 ·