본문 바로가기
정보

카카오톡 PC 버전 광고차단

by 서율97 2019. 11. 29.

어딜가나 빠지지 않는 카카오톡, 주로 저는 스크립트나 사진 파일을 받기위해서 PC에서 설치해서 사용하고 다른분들도 편한 채팅을 위해서 많이 사용중이네요. 

그런데 이 녀석 용도로는 괜찮은데 수시로 뜨는 "광고" 광고를 안볼 수 있도록 차단 하는방법입니다.


Windows 에서는 host 라는 파일이있습니다. 일부 악성코드에서는 host 변조를하여 평소에 잘들어가지던 네이버나 구글이 안들어 가지는 현상이 있곤하는데 그런 경우는 대부분이 host 파일 변조로 인해 생기는 증상이라고 보시면됩니다.

그럼 카카오 광고 차단을 하기 위해서 네이버대신에 카카오 광고에 적용을 하면 됩니다.


1) host 파일위치


C:\Windows\System32\drivers\etc


호스트 파일 위치에 접속하여 host 파일을 관리자 권한으로 메모장을 열어줍니다. 또는 Notepad++도 가능합니다.



2) 파일 수정


아래와 같이 최하단부에 127.0.0.1 display.ad.daum.net 를 입력해줍니다.

사실상 내용은 모두 주석처리가 되어서 의미는 없고, 카카오 광고의 주범인 display.ad.daum.net 를 내부로 통신불능하게 만듭니다.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
 
# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost
127.0.0.1 display.ad.daum.net





적용이 되면 아래와 같이 광고가 있던 영역만 존재하고 새로운 광고와 팝업광고는 올라오지 않습니다.