Code Monkey home page Code Monkey logo

Comments (3)

1nC0deWeTrust avatar 1nC0deWeTrust commented on August 17, 2024

parser.js 解析结果如下:
image

转换后的规则实际上已经不是原规则要表达的意思了。

from quantumultx.

KOP-XIAO avatar KOP-XIAO commented on August 17, 2024

更新

from quantumultx.

1nC0deWeTrust avatar 1nC0deWeTrust commented on August 17, 2024

想基于你的代码增加 clash 中通配符*在中间的情况,但是在我fork了你的代码并在qx中引用了我仓库中的parser.js后,!/\*|\+/.test(cnt[0])这句代码一直就是false,改了多次不成功,可以麻烦加上这个逻辑吗?

后面我即使改成resource_parser_url= https://fastly.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scripts/resource-parser.js ,下面这个去广告的yaml会全部解析成wildcard,这样会严重降低性能。我多次测试,甚至把qx卸载重装了。

去广告链接:https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-clash.yaml

from quantumultx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.