Code Monkey home page Code Monkey logo

Comments (6)

OpportunityLiu avatar OpportunityLiu commented on May 20, 2024

装个同文堂呗,加这种插件包会变大很多

from ehsyringe.

Mapaler avatar Mapaler commented on May 20, 2024

https://github.com/nk2028/opencc-js
这个纯js的我觉得挺简单的,要不要试试看?

from ehsyringe.

tch1121 avatar tch1121 commented on May 20, 2024

如果不包括评论和日语标题体积还是很小的

from ehsyringe.

Mapaler avatar Mapaler commented on May 20, 2024

按照这个提问:https://sleazyfork.org/zh-CN/scripts/407833-ehsyringe/discussions/60994

转换数据库肯定是容量增加的,但可不可以反过来,把他们输入的繁中,实时转换成简中再去数据库搜索。

from ehsyringe.

OpportunityLiu avatar OpportunityLiu commented on May 20, 2024

那不是更大,而且还弄不对

from ehsyringe.

Mapaler avatar Mapaler commented on May 20, 2024

那不是更大,而且还弄不对

不需要修改数据库,繁中输入”蘿莉“,用opencc转为”萝莉“,再去和数据库匹配,仍提供简体的显示。

https://github.com/nk2028/opencc-js

这个纯JS应该好植入,只有1MB多。
我自己写的一个便利脚本,很简单的代码,就把游戏攻略转成简体显示。

1653555508768_firefox
1653555548432_firefox
1653555575427_firefox

from ehsyringe.

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.