Skip to content

Instantly share code, notes, and snippets.

@chenxsan
Last active December 14, 2015 01:09
Show Gist options
  • Save chenxsan/5004032 to your computer and use it in GitHub Desktop.
Save chenxsan/5004032 to your computer and use it in GitHub Desktop.
Privoxy user.filter 屏蔽中文站点广告
FILTER: block-baidu 屏蔽百度广告
s|</head>|<style type="text/css">table.ec_pp_f,\#content_right,.ec_pp_f+br,[class~=EC_mr15]{display:none;}</style></head>|
FILTER: block-promote
s|</head>|<style type="text/css">div.promoted-account,div.promoted-tweet{display:none !important;}</style>$0|
FILTER: backlinkwatch 关闭弹出窗口
s|popup\(windowname\)|gotohell\(\)|
FILTER: block-iciba
s|</head>|<style>.header .head-ad,\#side_bar,.vRecomm,\#iciba_common_top,\#ezfm,.dict_nav,.pendant,.search_foot,\#footer,.header_ad,\#Jihuajiyi,.head_ad4,.header_nav{display:none !important;}</style>$0|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment