mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-02-02 11:43:00 +08:00
add adguard easylist
This commit is contained in:
parent
1a1f6fb981
commit
a9c5b95cd9
File diff suppressed because it is too large
Load Diff
1579
anti-ad-easylist.txt
1579
anti-ad-easylist.txt
File diff suppressed because it is too large
Load Diff
1579
anti-ad-surge.txt
1579
anti-ad-surge.txt
File diff suppressed because it is too large
Load Diff
@ -31,7 +31,15 @@ $arr_result = array_merge_recursive($arr_result, addressMaker::get_domain_list($
|
|||||||
|
|
||||||
$arr_result = array_merge_recursive($arr_result, $arr_blacklist);
|
$arr_result = array_merge_recursive($arr_result, $arr_blacklist);
|
||||||
|
|
||||||
echo 'Written file size:';
|
$reflect = new ReflectionClass('writerFormat');
|
||||||
echo addressMaker::write_to_conf($arr_result, writerFormat::DNSMASQ);
|
|
||||||
|
$formatterList = $reflect->getConstants();
|
||||||
|
$arr_output = array();
|
||||||
|
|
||||||
|
foreach ($formatterList as $name => $formatObj){
|
||||||
|
$arr_output[] = '['. $name . ']' . addressMaker::write_to_conf($arr_result, $formatObj);
|
||||||
|
}
|
||||||
|
|
||||||
|
echo implode('---', $arr_output);
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
33246
origin-files/easylist4.txt
Normal file
33246
origin-files/easylist4.txt
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user