yi-xu-0100 / cfw-scripts Goto Github PK
View Code? Open in Web Editor NEWSome scripts for parser in clash.for.windows.
Home Page: https://github.yixuju.cn/cfw-scripts
License: MIT License
Some scripts for parser in clash.for.windows.
Home Page: https://github.yixuju.cn/cfw-scripts
License: MIT License
出错信息如下
Error
Downloac profile(https://free.kingfu.cf/clash/config) failed
with error: [Parser Error] Cannot read property "length' of null
OK
出错profile
https://free.kingfu.cf/clash/config
涉及parser js文件为
change-rules.js
文件内容未做变更
proxy-groups:
- name: 🚀 节点选择
type: select
proxies:
- ♻️ 自动选择
- 🇭🇰 香港节点
- 🇨🇳 **节点
- 🇸🇬 狮城节点
- 🇯🇵 日本节点
- 🇺🇲 美国节点
- 🇰🇷 韩国节点
- 🚀 手动切换
- DIRECT
- name: 🚀 手动切换
type: select
proxies:
- 🇭🇰 Relay_🇨🇳CN-🇭🇰HK_04
- LT_17
- LT_18
- 🇷🇺 Relay_🇷🇺RU-🇷🇺RU_19
module.exports.parse = async (raw, { yaml }) => {
let rawObj = yaml.parse(raw);
rawObj['proxy-groups'].forEach(proxygroup => {
proxygroup['proxies'].forEach(proxy => {
proxy = proxy.replace(/Relay_🇨🇳CN-/ig, ''); //i指忽略大小写, g指全局搜索
});
});
return yaml.stringify(rawObj);
};
签到脚本会在判断登录成功后进行post /user/checkin时返回的是登录界面,貌似没有保留住登录状态
merge_nodes 第92行 console.log(`[debug]: add ${proxy['name']} into ${variables[i + 1]['name']}`);
variables[i + 1]
越界了吧
Hello!
I hope you are doing well!
We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly. GitHub has a feature called Private vulnerability reporting, which enables security research to privately disclose a vulnerability. Unfortunately, it is not enabled for this repository.
Can you enable it, so that we can report it?
Thanks in advance!
PS: you can read about how to enable private vulnerability reporting here: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.