Open DarainS opened 6 years ago
加载字典(那些js文件)。
ninja的话是有格式的,直接查看读ninja的js逻辑和对应获取接口的json结构,然后提取关键地方解析(https://github.com/lucifering/PoeModEn2CN/blob/master/nija.js)。
官网论坛和角色的靠js提取页面元素,然后进行替换(浏览器F12查看html元素)。(https://github.com/lucifering/PoeModEn2CN/blob/master/try2cn.js)
能讲一下代码逻辑吗,尝试加一下,顺便研究下要怎么在tampermonkey插件上搞,这样就可以支持跳转了