From 9f93b5c6306a5f86ba10be4f9cb91b22a808fc58 Mon Sep 17 00:00:00 2001 From: gently Date: Sat, 31 Aug 2019 12:31:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=99=BD=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adblock-for-dnsmasq.conf | 3 +-- make-addr.php | 5 +++++ white_domain_list.php | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) 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, );