語法:
[Blocklists]
List.Bypass = "..\Lists\Bypass.txt"
List.AdIframe = "..\Lists\AdIframe.txt"
List.AdScriptPOP = "..\Lists\AdScriptPOP.txt"
List.UseRemoteProxy = "..\Lists\UseRemoteProxy.txt"
List.ClassIDs = "..\Lists\ClassIDs.txt"
List.AdImg_AdLink = "..\Lists\AdImg_AdLink.txt"
[HTTP headers]
In = FALSE
Out = TRUE
Key = "Referer: Hide Referer Info (out)"
Match = "[^:]+:/+(^\h/)|(^?)"
Replace = "http://\h/"
In = FALSE
Out = TRUE
Key = "URL-Killer: kill AdScriptPOP (out)"
URL = "$LST(AdScriptPOP)"
Replace = "URL killed \k"
In = FALSE
Out = TRUE
Key = "URL:Use Remote Proxy (out)"
URL = "$LST(UseRemoteProxy)"
Replace = "$USEPROXY(True)"
In = FALSE
Out = FALSE
Key = "User-Agent: Linux (out) "
Match = "*"
Replace = "Mozilla/4.78+[en]+(X11;+U;+Linux+2.4.7-10+i686)"
[Patterns]
Name = "Stop - Resizing And Status"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "<head>"
Limit = 16
Match = "\1"
Replace = "\1"
"\r\n<!-- Saved from: \u @ $DTM(h:m a) -->"
"\r\n<!-- Prox Stop Resizing And Status -->"
"<script language="javascript">"
"function moveTo(){return true;}"
"function resizeTo(){return true;}"
"function status(){return true;}"
"function defaultStatus(){return true;}"
"</script>\r\n"
"$STOP()"
Name = "Kill - Specific ClassIDs - External JS Files {5.d.ex}"
Active = TRUE
URL = "$TYPE(js)|$TYPE(vbs)|$TYPE(oth)"
Limit = 64
Match = "(clsid(\("\{|:)|ClassID="\{)$LST(ClassIDs)"
Replace = "<!-- Kill - Specific ClassIDs - External JS Files {5.d.ex} -->"
Name = "Kill - Specific ClassIDs - HTML {5.d.ex}"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "<object*(</object>|>)|$NEST(<script,</script*>)|<xml\s*</xml>"
Limit = 12000
Match = "*(clsid(\("\{|:)|ClassID="\{)$LST(ClassIDs)*"
Replace = "<!-- Kill - Specific ClassIDs - HTML {5.d.ex} -->"
Name = "Block - Webbugs {3.d}"
Active = TRUE
URL = "($TYPE(htm)|$TYPE(js))"
Bounds = "<i(mg|mage|nput)\s*>"
Limit = 800
Match = "(*(width=$AV((\\"|"|)\7[#0:4](\\"|"|)))\1)"
" &(*(height=$AV((\\"|"|)[#0:4](\\"|"|)))\2)"
" &*src="
" ("
" ("
" (^*.gif(\\"|"|\s|>))&(\\"|"|)"
" ("
" \3"
" )"
" (\\"|"|\s|>)"
" &$SET(4=<span style=display:none;>"
" <a href=\7\3\7><img src=\7http://Local.ptron/bug2.gif\7 width=\74\7 height=\74\7 border=\70\7></a>"
" </span>)"
" )"
" |$SET(4=<img src=\7http://Local.ptron/clear.gif\7 \1 \2>)"
" )*"
Replace = "\4"
Name = "Kill AdImg_AdLink Banner"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "(<a\s*</a>)|(<img\s*>)"
Limit = 900
Match = "\1 (href|src)=$AV(*$LST(AdImg_AdLink)*)\2"
Replace = "<!-- Kill AdImg_AdLink Banner -->"
Name = "Kill AdScriptPOP And ScriptBannerImg"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)"
Bounds = "$NEST(<script,</script>)"
Limit = 1024
Match = "\1(($LST(AdScriptPOP))|(parent.location.href == self.location.href)|(direct_link)|(document.referrer.substr(0,0)+'http://www.pczone.com.tw/editpost.php?s=&action=editpost&postid=516662'.substr(0,0)+'http://www.pczone.com.tw/editpost.php?s=&action=editpost&postid=516662'))*"
Replace = "<!-- Kill AdScriptPOP And ScriptBannerImg -->"
Name = "Kill AdIframe"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "<iframe\s*</iframe>"
Limit = 900
Match = "\1 src=$AV(*$LST(AdIframe)*)\2"
Replace = "<!-- Kill AdIframe -->"
Name = "Kill BBLhGdTS JPG Download Check"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "<a\s*</a>"
Limit = 256
Match = "\1BBLhGdTS.jpg\2"
Replace = "<!-- Kill BBLhGdTS JPG Check -->"
Name = "OnUnload unloader"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "<body\s*>"
Limit = 256
Match = "\1 onunload=\2"
Replace = "\1 UnLoadOff=\2"
"$STOP()"
Name = "Kill Body Vlink"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "<body\s*>"
Limit = 256
Match = "\1 vlink=$AV(*)\2"
Replace = "\1\2"
"$STOP()"
Name = "GeoCities branding killer"
Active = TRUE
URL = "*.geocities."
Limit = 2500
Match = "<div class="geobranding*</script>"
Replace = "<font size=1>[GeoBrand killed]</font>"
Name = "Kill - Window.external Methods"
Active = TRUE
URL = "($TYPE(htm)|$TYPE(js))"
Limit = 40
Match = "null; (]+"
Replace = "null; "
Name = "Kill - Anti-Cache Meta Tags {3.d}"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "<meta\s*>"
Limit = 256
Match = "\0 http-equiv=$AV((Cache-Control|expires|store|Last-Modified|pragma|(no-|)cache)\1) \2"
Replace = "\0 http-ignore=\1 \2"
Name = "Kill Embed"
Active = TRUE
URL = "www.pczone.com.tw"
Bounds = "<embed\s*</embed>"
Limit = 256
Match = "*"
Name = "Allow - Right Mouse Clicks {2.d.se}"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 16
Match = "<end>"
Replace = "\r\n<!-- Allow - Right Mouse Clicks {2.d.se} -->"
"\r\n<script language="javascript">"
"function clearEventPROXO(a)"
"{"
" if (!a)"
" return;"
" a.onmousedown = null;"
" a.onselect = null;"
" a.oncontextmenu = null;"
" a.onselectstart = null;"
" a.ondragstart = null;"
"}"
" clearEventPROXO(document);"
" clearEventPROXO(document.body);"
" clearEventPROXO(window);"
" for (i = 0; i < window.parent.frames.length; i++)"
" clearEventPROXO(window.parent.frames[i]);"
"</script>\r\n"
"$STOP()"
[Proxies]
OpenLog = TRUE
>proxy.hinet.net:80
我不使用 Proxomitron 本身的基本設定
所以我自己根據自己上網所瀏覽網頁的廣告情況來加以斟酌修改
這是我的設定,有在使用的人可以參考看看
而其中某些設定則是外國朋友所分享的一些設定....
書籤