- 记录、导出查询历史
- 自动朗读控制(支持在 https 页面中朗读)
- 去除官方版本重定向百度首页“后门”
- 修复官方版本无法保存设置
- 采用新技术(shadowDOM)避免与浏览页面样式冲突(v3.1.6)
- 添加到单词本(v3.2.0)
npm run dev
npm run release
有道词典 Chrome 扩展,提供功能:指词、划词、朗读、单词本、查询记录、导出~
npm run dev
npm run release
reproduce page:comment list in https://bugs.chromium.org/p/v8/issues/detail?id=8523
Element.createShadowRoot is deprecated and will be removed in M73, around March 2019. Please use Element.attachShadow instead. See https://www.chromestatus.com/features/4507242028072960 for more details.
结合现有的查询记录,为用户提供辅助记忆功能。
如,在首页定时弹出生词。
导出单词卡片(图片)
定时设定交互
提醒交互:
Notification
Bullet
Icon LED
勾选popup
页的自动朗读
后,当面板弹出时,可触发朗读。
目前(2019.12.28)默认的时朗读英音
。
期望给用户提供一个配置选项,可指定朗读发音类型。
Ctrl 键容易跟其他热键冲突。
edge 118.0.2088.76
3.3.6
查询一次出结果后,再次输入点击查询,没有任何效果,需要退出重新进才可以
消除 background.js
中冗余、笨拙的字符串连接方式(sprintfWrapper
相关)
鱼儿离不开水,单词离不开句子。所以有必要在记录单词的同时,把整个句子记录下来
例如:http://www.ollydbg.de/
attach:还要兼容 iframe 引用的页面
使用姿势:
用户在未开启划词翻译
的情况下,右击选区,可触发单词、句子翻译。
branch:shadowDom
在某些页面(如知乎)中会被页面内容遮盖。
<?xml version="1.0" encoding="UTF-8"?>
<yodaodict>
<return-phrase>
<![CDATA[addresses]]>
</return-phrase>
<lang>eng</lang>
<dictcn-speach>
<![CDATA[addresses&type=1]]>
</dictcn-speach>
<speech>
<![CDATA[addresses&type=1]]>
</speech>
<uk-speech>
<![CDATA[addresses&type=1]]>
</uk-speech>
<us-speech>
<![CDATA[addresses&type=2]]>
</us-speech>
<custom-translation>
<type>ec</type>
<translation>
<content>
<![CDATA[n. [计] 地址(address的复数形式)]]>
</content>
</translation>
<translation>
<content>
<![CDATA[v. 对…发表演说(address的第三人称单数形式)]]>
</content>
</translation>
</custom-translation>
<yodao-web-dict>
<web-translation same="true">
<key>
<![CDATA[addresses]]>
</key>
<trans>
<value>
<![CDATA[地址]]>
</value>
</trans>
<trans>
<value>
<![CDATA[收信人]]>
</value>
</trans>
<trans>
<value>
<![CDATA[演讲]]>
</value>
</trans>
</web-translation>
<web-translation>
<key>
<![CDATA[Correct Addresses]]>
</key>
<trans>
<value>
<![CDATA[规范写法]]>
</value>
</trans>
</web-translation>
<web-translation>
<key>
<![CDATA[subnet addresses]]>
</key>
<trans>
<value>
<![CDATA[子网地址]]>
</value>
</trans>
</web-translation>
</yodao-web-dict>
<sexp>0</sexp>
</yodaodict>
<?xml version="1.0" encoding="UTF-8"?>
<yodaodict>
<return-phrase>
<![CDATA[addresses]]>
</return-phrase>
<lang>eng</lang>
<yodao-web-dict>
<web-translation same="true">
<key>
<![CDATA[addresses]]>
</key>
<trans>
<value>
<![CDATA[地址]]>
</value>
</trans>
<trans>
<value>
<![CDATA[收信人]]>
</value>
</trans>
<trans>
<value>
<![CDATA[演讲]]>
</value>
</trans>
</web-translation>
<web-translation>
<key>
<![CDATA[Correct Addresses]]>
</key>
<trans>
<value>
<![CDATA[规范写法]]>
</value>
</trans>
</web-translation>
<web-translation>
<key>
<![CDATA[subnet addresses]]>
</key>
<trans>
<value>
<![CDATA[子网地址]]>
</value>
</trans>
</web-translation>
</yodao-web-dict>
<sexp>0</sexp>
</yodaodict>
断网情况下请求失败,在 icon 上显示 badge 警告反馈。
我的浏览器:
我的插件版本:
v3.3.3
问题描述:
在由 shadowDOM 编写的页面(如 https://bugs.chromium.org/p/chromium/issues/detail?id=85323 ) 中,划词无法使用。
查词后点击 + 号添加到单词本的功能失效了
应当类似adBlock一样增加一个启用或禁用列表。
目前用baidu搜索一下英语(比如代码报错)的时候会激活,造成困扰
hi @g8up 感谢你在这个 chrome 中加入了 "加入单词本" 这个很棒的 feature,这个对我很有用。
但是,在使用的过程中,我发现这个 feature 可以做得更好一些,当前添加单词到单词本只是把单词添加到单词本,但是没有添加分类,不利于后面查看单词本,所以不知道是否可以添加一个 “添加单词分类” 的 feature,默认的 “分类” 是个可自定义的项目,可以自己修改默认添加到的 “分类”。
分类是单词本的一个功能,可以将单词划分成组,在单词本中展示为这样:
#32 问题修复后出现的这个问题
存储:优先考虑官方提供的单词本
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.