diff --git a/adblock-for-dnsmasq.conf b/adblock-for-dnsmasq.conf index 5f579fce..fceeab23 100644 --- a/adblock-for-dnsmasq.conf +++ b/adblock-for-dnsmasq.conf @@ -1,4 +1,4 @@ -#Date:20190829060008 +#Date:20190831042028 address=/0024aaaa.com/ address=/0082tv.net/ address=/00880808.com/ @@ -27820,7 +27820,6 @@ address=/remote88.com/ address=/searchswapper.com/ address=/uulucky.com/ address=/uyunad.com/ -address=/wangbase.com/ address=/wifijia.net/ address=/xinsheng.net/ address=/xmindchina.cn/ diff --git a/make-addr.php b/make-addr.php index 1c8dbcb8..a4865fe0 100644 --- a/make-addr.php +++ b/make-addr.php @@ -180,6 +180,11 @@ class makeAddr{ // print_r($rv); continue; } + + if(array_key_exists($rk, $GLOBALS['arr_whitelist'])){//白名单机制 + continue; + } + if(!is_array($rv)){ if(array_key_exists($rv, $GLOBALS['arr_whitelist'])){//白名单机制 continue; diff --git a/white_domain_list.php b/white_domain_list.php index 5e10387f..919da9f9 100644 --- a/white_domain_list.php +++ b/white_domain_list.php @@ -12,4 +12,5 @@ return array( 'b.bdstatic.com' => true, 'googleadapis.l.google.com' => true, '.googleadapis.l.google.com' => true, + 'wangbase.com' => true, );