Giter Site home page Giter Site logo

whoisyoges / internet-crap Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.11 MB

Block most of internet crap (fakenews, gambling, malware, adware and pornography) in your entire computer.

block-ad block-ads block-malware block-fakenews block-gambling block-porn adblocker pornblocker malwareblocker

internet-crap's Introduction

internet-crap

block most of internet crap (fakenews, gambling, malware, adware and porn)

What is internet-crap

It's a file or collection of files located in specific directory/folder in your operating system that replaces huge number of fakenews, gambling, malware, adware and porn sites/providers with a non-routable meta-address used to designate an invalid.

Source and Inspiration: StevenBlack's hosts

How does it work

When you search something in your web browser it first checks hosts file of your system and then searches for the website in dns server. So what we are doing is, replacing all those crap websites with 0.0.0.0 before accessing the dns server. And thus, you're unable to access those websites at any cost unless you modify it in the hosts file. Using VPNs are also worthless in this practice.

Usage

Don't forget to take a backup of your original host file before replacing it.

Windows

locate your hosts file at: %SystemRoot%\system32\drivers\etc\hosts and replace it with the hosts file linked here.

Linux

Locate your hosts file at: /etc/hosts and replace it with the hosts file linked here.

Replace your /etc/resolv.conf file with the resolv.conf file here which is a write protected file containg family protection dns servers of adguard.

macOS (until 10.14.x macOS Mojave)

Locate your hosts file at: /etc/hosts and replace it with the hosts file linked here.

macOS Catalina

Locate your hosts file at: /private/etc/hosts and replace it with the hosts file linked here.

Preview hosts

Check what's there in hosts file here. Cause the file is too large to show the preview directly.

How to add more websites in block list?

1. Identify the website you want to block in your system. For example: example.xyz
2. Open your hosts file in your computer and append the following:

0.0.0.0    example.xyz

internet-crap's People

Stargazers

 avatar

Watchers

 avatar

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.