TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How to block a specific website only at home

2 点作者 tai_hn将近 3 年前
I want to block YouTube only at home. What’s the best way to pull this off? Any useful tools?

3 条评论

recrudesce将近 3 年前
Network wide, or just for your own browser ?<p>There are a number of addons for Chrome&#x2F;Firefox etc that allow you to block sites, usually for staying focused during work hours.<p>If you want to do it network wide, you could utilise something like a PiHole, but that&#x27;s a bit extreme for blocking access to one site.<p>The other option would be to put an entry in your hosts file for www.youtube.com etc and point them at 127.0.0.1.
WallyFunk将近 3 年前
Setup a pi-hole: <a href="https:&#x2F;&#x2F;pi-hole.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pi-hole.net&#x2F;</a><p>Although doing that for just one domain is overkill.
slater将近 3 年前
Figure out how to log in to your home router, block it there.
评论 #32470059 未加载