Rename project
This commit is contained in:
parent
0d383c41ec
commit
724b31654c
3 changed files with 2 additions and 39 deletions
2
LICENSE
2
LICENSE
|
@ -208,7 +208,7 @@ If you develop a new program, and you want it to be of the greatest possible use
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
|
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
adblock-hosts-script
|
blocker-hosts-script
|
||||||
Copyright (C) 2024 ethanaobrien
|
Copyright (C) 2024 ethanaobrien
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
A bash script to pull adblock host files from multiple locations
|
A bash script to pull adblock host files from multiple locations
|
||||||
|
|
||||||
Run `adblock.sh`
|
Run `./blocker.sh`
|
||||||
|
|
37
adblock.sh
37
adblock.sh
|
@ -1,37 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
sudo rm -f /etc/hosts
|
|
||||||
echo "# Static table lookup for hostnames." | sudo tee /etc/hosts > /dev/null
|
|
||||||
echo "# See hosts(5) for details." | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
|
|
||||||
# Discord
|
|
||||||
echo "0.0.0.0 discord.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 discord.gg" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 discordapp.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 discord.media" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 discordapp.net" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 discordcdn.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 discord.dev" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 discord.new" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 discord.gift" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 discordstatus.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 dis.gb" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 discord.co" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
|
|
||||||
echo "" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
|
|
||||||
# Mihoyo
|
|
||||||
echo "0.0.0.0 log-upload-os.hoyoverse.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 log-upload.mihoyo.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 log-upload-os.mihoyo.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 devlog-upload.mihoyo.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 sg-public-data-api.hoyoverse.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 dump.gamesafe.qq.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 apm-log-upload-os.hoyoverse.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 zzz-log-upload-os.hoyoverse.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 overseauspider.yuanshen.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
echo "0.0.0.0 hkrpg-log-upload-os.hoyoverse.com" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
|
|
||||||
echo "" | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
|
|
||||||
curl -L https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | tail -n +40 | sudo tee -a /etc/hosts > /dev/null
|
|
||||||
curl -L https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt | sudo tee -a /etc/hosts > /dev/null
|
|
Loading…
Reference in a new issue