mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-07 13:02:27 +02:00
Merge pull request #167 from FadeMind/master
UncheckyAds, makeHostsWindows.bat #166
This commit is contained in:
commit
738733e61d
37
data/UncheckyAds/hosts
Normal file
37
data/UncheckyAds/hosts
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# unchecky_begin
|
||||||
|
# These rules were added by the Unchecky program in order to block advertising software modules
|
||||||
|
0.0.0.0 tracking.opencandy.com.s3.amazonaws.com
|
||||||
|
0.0.0.0 media.opencandy.com
|
||||||
|
0.0.0.0 cdn.opencandy.com
|
||||||
|
0.0.0.0 tracking.opencandy.com
|
||||||
|
0.0.0.0 api.opencandy.com
|
||||||
|
0.0.0.0 api.recommendedsw.com
|
||||||
|
0.0.0.0 installer.betterinstaller.com
|
||||||
|
0.0.0.0 installer.filebulldog.com
|
||||||
|
0.0.0.0 d3oxtn1x3b8d7i.cloudfront.net
|
||||||
|
0.0.0.0 inno.bisrv.com
|
||||||
|
0.0.0.0 nsis.bisrv.com
|
||||||
|
0.0.0.0 cdn.file2desktop.com
|
||||||
|
0.0.0.0 cdn.goateastcach.us
|
||||||
|
0.0.0.0 cdn.guttastatdk.us
|
||||||
|
0.0.0.0 cdn.inskinmedia.com
|
||||||
|
0.0.0.0 cdn.insta.oibundles2.com
|
||||||
|
0.0.0.0 cdn.insta.playbryte.com
|
||||||
|
0.0.0.0 cdn.llogetfastcach.us
|
||||||
|
0.0.0.0 cdn.montiera.com
|
||||||
|
0.0.0.0 cdn.msdwnld.com
|
||||||
|
0.0.0.0 cdn.mypcbackup.com
|
||||||
|
0.0.0.0 cdn.ppdownload.com
|
||||||
|
0.0.0.0 cdn.riceateastcach.us
|
||||||
|
0.0.0.0 cdn.shyapotato.us
|
||||||
|
0.0.0.0 cdn.solimba.com
|
||||||
|
0.0.0.0 cdn.tuto4pc.com
|
||||||
|
0.0.0.0 cdn.appround.biz
|
||||||
|
0.0.0.0 cdn.bigspeedpro.com
|
||||||
|
0.0.0.0 cdn.bispd.com
|
||||||
|
0.0.0.0 cdn.bisrv.com
|
||||||
|
0.0.0.0 cdn.cdndp.com
|
||||||
|
0.0.0.0 cdn.download.sweetpacks.com
|
||||||
|
0.0.0.0 cdn.dpdownload.com
|
||||||
|
0.0.0.0 cdn.visualbee.net
|
||||||
|
# unchecky_end
|
1
data/UncheckyAds/update.info
Normal file
1
data/UncheckyAds/update.info
Normal file
@ -0,0 +1 @@
|
|||||||
|
https://gist.githubusercontent.com/FadeMind/fd21947379d135ed064c7be48a2b9112/raw/078ca03a6224ecaff391dda6e6956bf45c95d66e/unchecky.ads.hosts
|
17
makeHostsWindows.bat
Normal file
17
makeHostsWindows.bat
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
@ECHO OFF
|
||||||
|
:UPDATES
|
||||||
|
::These create various alternate hosts files by combining and adding the gambling, porn, and social media extensions.
|
||||||
|
updateHostsFile.py -a -o alternates\gambling -e gambling
|
||||||
|
updateHostsFile.py -a -n -o alternates\porn -e porn
|
||||||
|
updateHostsFile.py -a -n -o alternates\social -e social
|
||||||
|
updateHostsFile.py -a -n -o alternates\gambling-porn -e gambling porn
|
||||||
|
updateHostsFile.py -a -n -o alternates\gambling-social -e gambling social
|
||||||
|
updateHostsFile.py -a -n -o alternates\porn-social -e porn social
|
||||||
|
updateHostsFile.py -a -n -o alternates\gambling-porn-social -e gambling porn social
|
||||||
|
updateHostsFile.py -a -n
|
||||||
|
|
||||||
|
::Update the readmes.
|
||||||
|
updateReadme.py
|
||||||
|
|
||||||
|
GOTO END
|
||||||
|
:END
|
@ -153,11 +153,14 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
|||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
|
|`makeHostsWindows.bat` BATCH file will create various alternate hosts files by combining and adding the gambling, porn, and social media extensions. This file REQUIRED installed Python 3.5.x environment in Windows System. Launch this file as normal user.|
|
||||||
|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|Run `updateHostsWindows.bat` in Command Prompt in repository dir always after updating main hosts file for easy replacing hosts file in Windows and reload DNS cache.|
|
|Run `updateHostsWindows.bat` in Command Prompt in repository dir always after updating main hosts file for easy replacing hosts file in Windows and reload DNS cache.|
|
||||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
|
||||||
|WARNING: Don't run this BAT file directly from popup menu. You have been warned.|
|
|WARNING: Don't run these BAT files directly or from popup menu. You have been warned.|
|
||||||
:---------------------------------------------------------------------------------
|
:--------------------------------------------------------------------------------------
|
||||||
|
|
||||||
Open a Command Prompt in directory where are files from this repository:
|
Open a Command Prompt in directory where are files from this repository:
|
||||||
|
|
||||||
@ -169,11 +172,24 @@ Open a Command Prompt in directory where are files from this repository:
|
|||||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||||
"Run as Administrator"
|
"Run as Administrator"
|
||||||
|
|
||||||
|
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||||
|
"Run as Administrator"
|
||||||
|
|
||||||
and run command:
|
and run command:
|
||||||
```
|
```
|
||||||
updateHostsWindows.bat
|
updateHostsWindows.bat
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|If you want using huge hosts file with merged [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||||
|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Open a Command Prompt with Administrator privileges and run once commands:
|
||||||
|
|
||||||
|
```
|
||||||
|
sc config "Dnscache" start= disabled
|
||||||
|
sc stop "Dnscache"
|
||||||
|
```
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
Open a Terminal and run with root privileges:
|
Open a Terminal and run with root privileges:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user