Giter Site home page Giter Site logo

chazd's Introduction

ChaZD

ChaZD 查字典,简洁易用的英汉字典扩展程序,支持划词哦:) 翻译结果和发音朗读由有道翻译驱动。

获取

:安装扩展后,第一次使用请刷新要查词的页面,划词功能才会生效;
注2:非中文版Chrome浏览器的用户,如出现插件弹出窗口字体无法正常显示的情况,麻烦请更改浏览器的最小字号为12px (具体步骤: settings-->show advanced settings-->Web content中的Customize fonts... -->Minimum font size将最小字号改为12px)。

主要功能

  • 支持在线英汉互译
  • 提供英文单词和语句的英音、美音真人发音朗读
  • 支持网页内英文划词翻译
  • 可通过快捷键(Ctrl+Shift+F)快速启动词典扩展,也可以自定义快捷键
  • 可设置开启与关闭划词功能,并可选择划词结果的显示位置

截图

Screenshoot 1

Screenshoot 2

修改代码及部署

确保你已经安装了Node.js以及grunt-cli,

下载代码并部署

git clone https://github.com/ververcpp/ChaZD.git
cd ChaZD && npm install   #安装部署依赖的包
grunt                     #部署代码

进入Chrome的扩展程序设置页面,点击“加载正在开发的扩展程序”,选择ChaZD目录

可以使用grunt watch实时更新修改的js、css文件并部署, 每次修改代码之后直接在浏览器的扩展程序设置页面重新加载ChaZD即可


部分功能设计借鉴于TransIt

源码完全开放,欢迎Star、Fork、提交BUG,并提出您宝贵的意见与建议。

chazd's People

Contributors

ververcpp avatar waynexuan avatar

Watchers

 avatar

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.