Git Product home page Git Product logo

metword.extension's People

Contributors

kidlj 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  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

metword.extension's Issues

服务故障

消息队列服务故障,导致部分服务不可用。

  1. 新账号无法注册;
  2. 单词标记次数刷新失败。

正着手修复。

Grammarly输入界面bug

操作系统:MacOS/Windows
浏览器:Chrome
描述:在Grammarly的输入界面,选中某个单词,插件会自动将该单词删除掉,且弹出单词显示框后,点击其他任何区域均无法消除,智能重新刷新解决。如图,在光标所处位置本来有preserved,但一选中删除掉了
截屏2022-09-04 16 15 19

导出功能&跳转原文定位问题

非常喜欢这款插件!特别是可以记录单词原句,可以直接链接到原文。

有两点反馈建议(需求):

1、目前单词本功能有点少,不太方便回顾,希望能增加导出的功能,方便客制化。
2、链接跳转到原文后,因为标注方式是单词下面一个短下划线,比较隐蔽,有些比较长的文章页面,很难快速定位到原句。不知道能不能在跳转到原文的同时,调用浏览器的搜索功能,直接搜索原句;或者是将页面滚动聚焦到原句位置。

Safari: 开启插件后个别网站响应很慢

Safari only issue. 比如 twitter.com。

初步调查可能是 Safari 或者 Twitter 的 bug ,因为插件使用了微软的 fluentui React library, 会下载自己的 web fonts ,而 Twitter 设置了 font-src CSP 禁止了从第三方加载字体。问题是字体的下载和因违反 CSP 导致的后续 CSP reports 请求在 Twitter timeline 页面上看起来是无穷无尽的,因此会导致 CPU 占用 100%,页面加载不出来或者很慢。经测试,Firefox 和 Chrome 不存在这个问题。另经测试,在同样设置了 font-src CSP 的 GitHub.com 上,Safari 不存在此问题。

--- 报告给 Twitter 的问题描述 ---

I built a browser extension named MetNews[1], which uses the open source Microsoft fluentui React library[2]. The extension shows a callout box when user clicks its icon on any webpage, and the fluentui library will always download its registered web fonts(mainly Segoe UI) from third party site. It works all fine on most web pages, but not on Twitter timeline page. Since Twitter has the font-src Content Security Policy(CSP) set, web font downloading from third party sites always fails. The problem is that on Twitter timeline page, the downloading of web fonts and violation of CSP are endless, and Twitter would also reports the CSP violation to its server, then the whole process causes Twitter uses 100% CPU and the page won't loads or are very slow.

I encounter the issue on MacOS 13.0 (22A380) with Safari 16.1 (18614.2.9.1.12). Chrome and Firefox on the same OS don't have this issue.

Reference:
[1]: https://metnews.co/
[2]: https://github.com/microsoft/fluentui

--- 解决办法 ---

Safari 可以对扩展设定允许运行的网站,也就是黑白名单。可以设置不允许 MetWord 在 Twitter 上运行(设定时需要打开 Twitter 网站)。

截屏2022-11-14 00 30 09

如何主动关闭单词框。

当选择单词,主动翻译之后,我希望关闭掉这个框框,然而找不到关闭的地方,只能点击其他地方进行关闭。

申请增加词库

太多单词查询不到结果了。
尤其是小国家的英文和人名
例如:
国家名或某国人的:Cambodian 、India、UK 、Afghanistan 、Taliban 、Japanese
人名:Sovann 、Chhay 、Guinness

谷歌和edge都可以打开本地PDF,如果能在这上面使用就好了

谷歌和edge都可以打开本地PDF,如果能在这上面使用就好了

另外建议单词和句子可以导出或直接配置本地存储(如果说OneNote可以实现剪藏,本地存储应该也能实现),便于背诵

通过本地存储的话还可以添加句子的翻译功能,配置个人的百度翻译秘钥

想要删除标记的词和次数

因为想要试一试而标记了一个词,后来通过不提醒解决了。
后来因为划线之后在原单词这里没有显示划线,以为没点上,又点了两次,然后后面文章里,又提到这个单词地方都有三个小横杠。
抓狂了简直。

移动端似乎可以结合狐猴浏览器使用

我只改了两处:
1.App.tsx里最下面的width
const styles = mergeStyleSets({
callout: {
display: "block !important",
width: 240,
padding: '20px 20px',
},
})
2.Word.tsx的head样式增加了flex-wrap: wrap
.head {
display: flex;
flex-direction: row;
align-items: flex-end;
justify-content: flex-start;
gap: 30px;
flex-wrap: wrap
}
然后就是狐猴浏览器导入crx了
没有别的问题,只是给大佬参考一下,感谢大佬,真是太好用了

Screenshot_2024-05-04-02-12-13-805_com lemurbrowser exts

不会提requests,提几个建议

1.能否把记录的单词导出来?
2.能否把单词所在的句子也记录下来?
形成
单词(tab)句子
类似的格式?

增加词组查询

最近感觉到学习英语词组的重要性,许多常见的单词,但是组成短语后就不认识了,不知道在词库中加入词组的查询是否现实?

不支持代码块中的单词"+1"

当在代码块中选择单词(照常显示翻译)并点击"+1"的符号,会出现 "请检查输入。"

版本: 1.0.8
浏览器: 火狐

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.