module.exports.parse = ({ content, name, url }, { yaml, axios, notify }) => {
 const myRules = [
    'DOMAIN-SUFFIX,jetbrains.com,国外流量'
 ]
 const extra = {
    rules: [...myRules, ...content.rules]
  }
 // console.log(content)
 // content.rules.push('DOMAIN-SUFFIX,tiyueedu.com,DIRECT')
  return { ...content, ...extra }
}

打开mixin功能,setting中Profile Mixin的type选择JavaScript,编辑JavaScript代码贴如上面的代码,myRule中的代码改成自己想要的

Last modification:July 23rd, 2020 at 12:11 pm
如果觉得我的文章对你有用,请随意赞赏