Git Product home page Git Product logo

Comments (4)

huhamhire avatar huhamhire commented on July 18, 2024

0.0.0.0 由于代表整个网络,并不合适。因为地址不可达,可能会导致屏蔽部分的内容在网页加载时存在假死状态。可以考虑改用本地回环的其他地址。

不过基于 hosts 的广告屏蔽效率并不高,建议直接用浏览器插件。后续我也在考虑要逐步去除广告屏蔽功能,仅保留部分软件激活服务器的屏蔽部分,不影响网页体验。

from huhamhire-hosts.

achun avatar achun commented on July 18, 2024

额, 看来我的基础没有学好啊.
那用 127.0.0.255 这样的好了.

from huhamhire-hosts.

huhamhire avatar huhamhire commented on July 18, 2024

但是如果你本地有侦听 80 端口的 Web Server 的话,可能会出现与 127.0.0.1 下一样的情况,意义不大。最好的办法还是使用 ABP 这样的插件实现屏蔽。非网页应用的话,应该不会有啥问题。

from huhamhire-hosts.

achun avatar achun commented on July 18, 2024

开发者要是绑定 ":80" 的话确实是这样. 不过还有常见的 "127.0.0.1:80" 的写法.
不过话说回来,既然是开发者, 改配置到 其他一个127.0.0.x 也很简单.
看来没必要改这个了.
最后开个玩笑:
用 127.0.0.250 吧

from huhamhire-hosts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.