mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-01-22 22:39:16 +08:00
supported quantumult x
This commit is contained in:
parent
83142265f6
commit
9319b5042e
@ -204,6 +204,34 @@ class writerFormat{
|
||||
),
|
||||
);
|
||||
|
||||
/*Quantumult X 兼容格式的屏蔽广告列表*/
|
||||
const QUANX = array(
|
||||
'format' => 'host-suffix,{DOMAIN},reject',
|
||||
'header' => "#TITLE=anti-AD\n#VER={DATE}\n#URL={URL}\n#TOTAL_LINES={COUNT}\n",
|
||||
'full_domain' => 0,
|
||||
'name' => 'surge',
|
||||
'filename' => '../anti-ad-quanx.txt',
|
||||
'whitelist_attached' => array(
|
||||
'base-dead-hosts.txt' =>array(
|
||||
'merge_mode' => 2, //0=单条,1=单条+子域名,2=根域名相当于1,非根域名相当于0
|
||||
),
|
||||
),
|
||||
'src' => array(
|
||||
'base-src-easylist.txt' => array(
|
||||
'type' => 'easylist',
|
||||
'strict_mode' => false,
|
||||
),
|
||||
'base-src-hosts.txt' => array(
|
||||
'type' => 'hosts',
|
||||
'strict_mode' => false,
|
||||
),
|
||||
'base-src-strict-hosts.txt' => array(
|
||||
'type' => 'hosts',
|
||||
'strict_mode' => true,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
/*and etc...*/
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user