展示HN:我创建了一个真正有效的动态超时网站屏蔽器

1作者: academic_845722 个月前原帖
和许多人一样,我在浏览网页时也常常难以集中注意力,避免干扰。我尝试过所有的网页屏蔽工具——Blocksite、Freedom等等。这些工具大多数都因为两个原因而失败:要么太严格,导致我最终永久禁用它们,要么太宽松,让我很快找到绕过它们的方法。 为了自己解决这个问题,我开发了DecayBlock,这是一款基于适应性摩擦原理的浏览器扩展。 其机制很简单: 1. 当你访问干扰列表中的网站时,页面加载前会有一个短暂的延迟。 2. 每次访问时,这个延迟会累积,因此重复或习惯性访问变得越来越困难。 3. 随着时间的推移,当你远离这些网站时,累积的延迟会以可配置的半衰期衰减。 这个目标并不是强制禁令,而是对拖延行为引入一个小而逐渐增加的成本。那短暂的暂停往往足以打破打开干扰标签页的潜意识循环,而不会完全将你锁在外面。你可以根据自己的习惯配置延迟增长率和衰减半衰期。 我已经每天使用这个系统几个月了,它对我来说比任何其他工具都要有效得多。 DecayBlock现在已经在Chrome和Firefox的扩展商店上线。目前仅支持桌面版,但我希望未来能推出移动版本。 Chrome: [https://chromewebstore.google.com/detail/decayblock/lpljcnalipecdlmafjahhdeghgdepdjg](https://chromewebstore.google.com/detail/decayblock/lpljcnalipecdlmafjahhdeghgdepdjg) Firefox: [https://addons.mozilla.org/en-GB/firefox/addon/decayblock/](https://addons.mozilla.org/en-GB/firefox/addon/decayblock/) 我在这里回答任何问题,并非常欢迎反馈!
查看原文
Like many of us, I struggle with staying focused and avoiding distractions while browsing the web. I’ve tried all the website blockers out there – Blocksite, Freedom, you name it. Most of these tools failed for one of two reasons: they were too strict, so I ended up disabling them permanently, or they were too lenient, so I would quickly find a way around them.<p>To solve this for myself, I built DecayBlock, a browser extension based on the principle of adaptive friction.<p>The mechanism is simple:<p>1. When you visit a site on your distraction list, a brief timeout is applied before the page loads. 2. This timeout accumulates with each visit, so repeated or habitual access becomes progressively more difficult. 3. Over time, the accumulated timeout decays with a configurable half-life when you stay away from those sites.<p>The goal isn&#x27;t to enforce a ban, but to introduce a small, increasing cost to the act of procrastination. That brief pause is often enough to break the subconscious loop of opening a distracting tab, without ever fully locking you out. You can configure the timeout growth rate and decay half-life to match your own habits.<p>I&#x27;ve been using this system daily for several months, and it has been significantly more effective for me than any other tool.<p>DecayBlock is available now on both the Chrome and Firefox web extension stores. Currently it’s only on desktop but I’m hoping to release a mobile version at some point in the future.<p>Chrome: <a href="https:&#x2F;&#x2F;chromewebstore.google.com&#x2F;detail&#x2F;decayblock&#x2F;lpljcnalipecdlmafjahhdeghgdepdjg" rel="nofollow">https:&#x2F;&#x2F;chromewebstore.google.com&#x2F;detail&#x2F;decayblock&#x2F;lpljcnal...</a> Firefox: <a href="https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-GB&#x2F;firefox&#x2F;addon&#x2F;decayblock&#x2F;" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-GB&#x2F;firefox&#x2F;addon&#x2F;decayblock&#x2F;</a><p>I&#x27;m here to answer any questions and would love any feedback!