Coder Social home page Coder Social logo

iciba's Introduction

iciba - V2.1.1

爱词霸中剥离并改造的Chrome小插件

功能

  • 中英文翻译(同爱词霸页面上的widget)
  • 支持英式/美式发音(爱词霸这边用了Flash等复杂的东西,由于我们是Chrome组件,因此简化了下,解析出它的mp3文件,使用html5的audio组件howler.js完成读音)

使用

  • 可以直接从 应用商店安装,或者手动安装:
  • 下载插件安装包
  • 打开chrome的工具(Tools)\拓展程序(Extensions)页面,将安装文件拖入页面即可(若拖入页面无反应,请重启Chrome):

Screen Shot 2013-03-31 at 8 32 54 PM

截图

一、通过插件按钮查找单词:

2014-01-31 1 23 42

二、页面划词取词

(一)选中文字右键选择翻译选中文字

Screen Shot 2013-04-03 at 11 41 54 AM

(二)激活当前页面的划词翻译功能

当你在浏览英文页面时,可能需要频繁地进行单词翻译,此时开启划词翻译功能,方便双击单词进行单词翻译

(三)添加到生词本

可以将单词添加到生词本,前提是进入爱词霸官网进行一次登陆操作即可。

(四)其他

  • 自动添加到生词本:所有查过的单词都将自动添加到单词本中
  • 自动发声:自动播放音频

反馈

https://github.com/neekey/iciba/issues

iciba's People

Contributors

2qu24tlb avatar binyuj avatar neekey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

iciba's Issues

可否不等页面加载完成便可使用该插件?

使用的时候发现,当页面还在载入中时,对已载入的内容不能使用该插件。希望能够支持不载入完全即可使用该插件的功能。因为很多网站由于请求的部分资源耗时过大,但已不影响整体的阅读。

iciba

在google浏览器中不会自动发音、不能添加到单词本,点击详细释义就可以,是需要其他什么操作码?谢谢

希望能增加选词后显示一个小图标,点击再翻译的功能

我很喜欢这个插件,UI超喜欢。
但有点不舒服的地方就是,只有两种翻译方式,一种是右键点击,一种就是一选中就自动翻译。
这两种都不太满意,第一种太麻烦,第二种太烦,有的时候我只想选中复制点东西。

所以在这提一个建议,希望能加一种翻译方式,就是,选中文字后,在选中文字的右下角显示一个小小的图标,点击那个小图标即可翻译,这样就方便很多。

或者,也可以像其他人说的那样,按一下特定键再翻译,也可以接受。

希望我的建议能给你带来点帮助,作者加油!

意见哦请注意哈

希望能有个加入生词表的功能,这样可以温习下,O(∩_∩)O谢谢

UE issue

点击插件图标时,如果光标焦点自动切到输入框就好了,这样会更友好点。

使用chrome.command来快速激活browser action

参考API: chrome.command

该API需要在25以上才支持,可以考虑针对这些高版本提供这个功能~

使用方式大致为:

用户双击一个单词,ctrl + c 复制,然后使用快捷键,自动打开browser action,用户粘贴单词进去回车...

优化下Icon

嗯,现在的Icon是白底的。。。太山寨了。。。

tab doesn't work

hello,
I really love this extension. it's supper convenient and powerful. BUt I noticed the tag'tianjia shengci ben' doesn't work.
Will you please find some time to fix it please?

Many thanks in advance.
Eric

关闭console输出

关闭划词翻译的时候可不可以把console输出也给关掉呢,我在调试其他程序的时候有点不太方便

整个面板都可以拖动

目前整个面板都可以拖动,导致没办法在面板中做选中等操作,应该限制到只有在title部分拖动

释义框不消失

选中文本,自动弹出释义框后,点击其他地方,释义框不消失,一直悬浮在视口

"Add to my vocabulary" doesn't work.

I'm using iciba extension 2.1.0 in Chrome 47.0.2526.111 on Mac. I can search words from extension popup or from context menu, both worked fine. The only problem is, when I click the "Add to my vocabulary" button, nothing happens. And I went to iciba website, I confirmed that no new word added to my vocabulary.

What other information is needed?

additional explanation links

Wish to have additional links given below the word explanation. The links let user to click it to search the word from Internet Wiki webpage or any further other links to get the explanation deeper.

屏幕取词技术方案

屏幕取词这边纠结点主要在https页面上,针对这些页面,无法直接向词库请求,另外相关的样式等也无法载入(http的资源会被https的页面block掉),因此采取的思路

  • 去次方面,通过content scriptbackground通信,由background来发送请求,再返回给页面,通过eval执行
  • 发音方面,先尝试下直接在页面中是否可行,不行的话就让background来发音
  • 样式,通过动态的方式在页面上载入

double click a word popup explanation

Wish to double click a word (highlight) and popup explanation come out at once rather right mouse click context to get the explanation of the word so slowly. Thanks! :)

提个小建议

1.添加“只翻译英文”选项
对于喜欢点点点的“手贱党”来说很实用的,可以只有在按住ctrl键之后才翻译中文。
2.添加对 https的支持

加入生词本功能无效?

尝试登录了多次爱词霸官网,无论手动点击加入生词本还是勾选自动加入生词本,都是无法在登录的账户中看到新增的单词。

Can't close automaticlly

Thanks for so good software.
When I use this in a chrome browser, sometime, when I check the [ 划词翻译], the window can't close automatically when I click other place. but sometimes it just works well.

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.