QQ2013去广告补丁,可以去除聊天窗口的广告,使用批处理,绿色轻量,安全无毒。
 使用前注意:关闭QQ后运行,需要管理员权限。
需要自己手动修改参数,请仔细阅读说明,每次只支持一个QQ号码。
重新安装QQ后需重新运行补丁。
欢迎大家进行修改和完善。 
使用方法:用记事本等工具打开批处理文件,修改参数
set qq=2559081338
(需要去广告的QQ号)set installdir=D:\Program Files (x86)\Tencent\QQ
(QQ安装目录)   更新:20130720 修复路径 BUG(感谢 Raid)。修正 QQ 可能提示文件损坏的问题。
20130721 加入对 Windows XP 的支持,优化代码。增加广告 Hosts 屏蔽和管理员权限判断。
20130722 修正 Hosts 屏蔽判断的问题。 
效果图:
   - [url=u.php?uid=230204]@echo[/url]   off
 - ::↓请修改参数↓
 - set qq=2559081338
 - set installdir=D:\Program Files (x86)\Tencent\QQ
 - ::↑请修改参数↑
 - set file=%SystemRoot%\System32\TestUAC.%Random%
 - ( echo "TestUAC" >%file% ) 1>nul 2>nul
 - if exist %file% (
 - del %file% 1>nul 2>nul
 - goto start
 - ) else (
 - del %file% 1>nul 2>nul
 - goto uac
 - )
 - :start
 - color 0A
 - echo QQ 去广告补丁 20130722
 - echo 程序作者 Crexyer
 - echo 原帖地址 [url]http://bbs.kafan.cn/thread-1601791-1-1.html[/url]
 - echo.
 - echo 请检查以下参数是否正确:
 - echo  QQ 账号:%qq%
 - echo.安装目录:%installdir%
 - echo.
 - echo 按任意键继续执行,如果不正确请重新修改
 - echo.
 - pause>nul
 - del "%AppData%\Tencent\QQ\Misc\com.tencent.advertisement" /q 1>nul 2>nul
 - rd /s /q "%AppData%\Tencent\QQ\Misc\com.tencent.advertisement" 1>nul 2>nul
 - copy nul "%AppData%\Tencent\QQ\Misc\com.tencent.advertisement"
 - del "%AppData%\Tencent\Users\%qq%\QQ\Cache.db" /q 1>nul 2>nul
 - rd /s /q "%AppData%\Tencent\Users\%qq%\QQ\Cache.db" 1>nul 2>nul
 - mkdir "%AppData%\Tencent\Users\%qq%\QQ\Cache.db"
 - del "%AppData%\Tencent\Users\%qq%\QQ\Misc.db" /q 1>nul 2>nul
 - rd /s /q "%AppData%\Tencent\Users\%qq%\QQ\Misc.db" 1>nul 2>nul
 - mkdir "%AppData%\Tencent\Users\%qq%\QQ\Misc.db"
 - del "%installdir%\Plugin\Com.Tencent.Advertisement\Bundle.rdb" /q 1>nul 2>nul
 - rd /s /q "%installdir%\Plugin\Com.Tencent.Advertisement\Bundle.rdb" 1>nul 2>nul
 - copy nul "%installdir%\Plugin\Com.Tencent.Advertisement\Bundle.rdb"
 - find /c /i "127.0.0.1 pgdt.gtimg.cn" %systemroot%\system32\drivers\etc\hosts
 - if %errorlevel% neq 0 echo 127.0.0.1 pgdt.gtimg.cn>> %systemroot%\system32\drivers\etc\hosts
 - find /c /i "127.0.0.1 adsfile.qq.com" %systemroot%\system32\drivers\etc\hosts
 - if %errorlevel% neq 0 echo 127.0.0.1 adsfile.qq.com>> %systemroot%\system32\drivers\etc\hosts
 - echo.
 - echo 操作完成!
 - echo.
 - pause
 - exit
 - :uac
 - color 0C
 - echo 请在右键菜单中以管理员权限运行程序
 - echo 按任意键退出程序
 - pause>nul
 - exit