pro-2684 / liteloaderqqnt-purlfy Goto Github PK
View Code? Open in Web Editor NEWA plugin to purify links for QQNT
License: GNU General Public License v3.0
A plugin to purify links for QQNT
License: GNU General Public License v3.0
config.json 中 hooks.sendMessage 改为 true 后重启qq会自动改回false¿
是bug还是我哪里操作有问题(
我已确认安装在数据目录的plugins/purlfy
里
LiteLoaderQQNT版本:1.1.1
QQNT版本:9.9.9-22578
Node.js版本:18.18.2
操作系统版本:Windows 11 23H2 22631.3374
以下为错误弹窗:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module './purlfy'
Require stack:
- D:\software\QQNT\resources\app\LiteLoaderQQNT-main\plugins\purlfy\main.js
- D:\software\QQNT\resources\app\LiteLoaderQQNT-main\src\main.js
- D:\software\QQNT\resources\app\LiteLoaderQQNT-main\src\init.js
- D:\software\QQNT\resources\app\app_launcher\index.js
-
at Module._resolveFilename (node:internal/modules/cjs/loader:1084:15)
at n._resolveFilename (node:electron/js2c/browser_init:2:114728)
at Module._load (node:internal/modules/cjs/loader:929:27)
at u._load (node:electron/js2c/asar_bundle:2:14589)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\software\QQNT\resources\app\LiteLoaderQQNT-main\plugins\purlfy\main.js:4:16)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
例:
https://mzh.moegirl.org.cn/%E9%9B%8C%E5%B0%8F%E9%AC%BC#%E5%85%B8%E5%9E%8B%E5%BD%A2%E8%B1%A1
应解析为
https://mzh.moegirl.org.cn/雌小鬼#典型形象
原因:
很多中文百科的链接内会包含中文,但是并不是所有浏览器都能将其从url编码转义为中文。这导致复制的链接会被这些编码“污染”。
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.