Git Product home page Git Product logo

Comments (3)

David-Guoo avatar David-Guoo commented on August 14, 2024

另外,我也点击了Load Scripts 和 Save & Close 的按键

from odh.

ninja33 avatar ninja33 commented on August 14, 2024

加载后可以词典选项的下拉菜单里看到

image

我做了一个简单的用于测试的词典,会以中英文两句话,两个颜色显示选中的单词
image

脚本的gist地址是 https://gist.github.com/ninja33/021c27dabfdd57c3dae39aa67b138b56
raw 地址是 https://gist.githubusercontent.com/ninja33/021c27dabfdd57c3dae39aa67b138b56/raw/cf56ec9aea2f5f1ced3b85bc5cff2fbf8ef293cc/encn_testdict.js
你可以把raw地址贴进自定义词典的url里,load或者save and close都可以。再打开选项,在词典菜单里可以看到

注意在你的自定义脚本里的 displayName()里要定义显示名,否则下拉菜单就会用class name来显示这本词典。
image

from odh.

David-Guoo avatar David-Guoo commented on August 14, 2024

谢谢!问题已经解决了,似乎和Chrome Extension的一个设置"Allow access to file URLs" 有关系

from odh.

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.