Giter Club home page Giter Club logo

pnlpal / dictionariez Goto Github PK

View Code? Open in Web Editor NEW
436.0 11.0 27.0 109.21 MB

One dictionary to rule them all -- a browser extension to help you learn languages

Home Page: https://pnlpal.dev

License: GNU General Public License v2.0

Shell 0.18% HTML 26.05% CoffeeScript 58.10% JavaScript 8.56% Less 7.12%
dictionaries learn-languages firefox-addon chrome-extension vocabulary-builder anki learn-a-new-language browser-extension crx learning-resources

dictionariez's People

Contributors

asakaze-at avatar chrispinkney avatar dependabot[bot] avatar mkrkmz avatar negaentropy avatar revir avatar tezat 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dictionariez's Issues

Double click selects word partially

When performing a double left-click to elect a word, It will be selected partially based on where the mouse is. The letters behind the mouse are selected, and the rest of the word is not. this happens when the double click action is done really quickly, but not when there is a slightly longer delay between the 2 clicks. Changing the settings of the extension has no effect. example below:

9DuwMU2Myj.mp4

Clicking Pronunciation Bottom Causing Page Reloaded

When I click the pronunciation bottom on the floating definition menu, the web page will reload.

I'm using EDGE 96.0.1054.62, the plugin is the latest on Microsoft store.

I have tried to reinstall the plugin and restart the browser, but still not working.

Failed to load font due to Content Security Policy

Content Security Policy: The page’s settings blocked the loading of a resource at data:application/octet-stream;base64,d09… (“default-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at data:application/octet-stream;base64,AAE… (“default-src”).
downloadable font: font load failed (font-family: "fairydict-font" style:normal weight:400 stretch:100 src index:0): content blocked source: data:application/octet-stream;base64,d09GRgABAAAAAAsIAA8AAAAAE5wAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABWAAAADsAAABUIIslek9TLzI … MDJogRibuZgYOSAsPgYwi81pF9MBoDQnkM3utIvBAcJmZnDZqMLYERixwaEjYiNzistGNRBvF0cDAyOLQ0dySARISSQQbOZhYuTR2sH4v3UDS+9GJgYXAAx2I/QAAA==
downloadable font: font load failed (font-family: "fairydict-font" style:normal weight:400 stretch:100 src index:1): content blocked source: data:application/octet-stream;base64,AAEAAAAPAIAAAwBwR1NVQiCLJXoAAAD8AAAAVE9TLzI+IEl3AAABUAAAAFZjbWFw6Si7qgAAAagAAAFwY3Z0IAbV/wQ … BUKzDgABCCqxAAZCugLAAAEACSqxAAdCugBAAAEACSqxAwBEsSQBiFFYsECIWLEDZESxJgGIUVi6CIAAAQRAiGNUWLEDAERZWVlZswwCAQwquAH/hbAEjbECAEQAAA==
Content Security Policy: The page’s settings blocked the loading of a resource at data:application/octet-stream;base64,d09… (“default-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at data:application/octet-stream;base64,AAE… (“default-src”).

This is my console output after loading a page, and clicking a word to look-up

It seems that the extension is unable to load fairydict-font due to something with the website's Content Security Policy

Any ideas?

How the icons appear
image

你好,可否添加列表里没有的词典?

非常好的扩展,界面也很漂亮。请问能否实现用户自我添加词典的功能?比如我想添加linguee.com等目前列表里没有的词典或翻译界面。非常感谢!

Feature Implementation: Klingon

Hey there,

Found this on Reddit and tried it out. Nice work!

Had a silly idea to add Klingon as a dictionary translation. I can try this out and send a PR asap if you're okay with it.

what do you think?

This extension doesn't work on kiwi browser for mobile

As you know, Kiwi browser supports chrome extensions, but this extension doesn't work perfectly on it. when you look up a word, the preset dictionaries couldn't be selected, so it doesn't show any dictionary result.

Hope it be compatible with kiwi as well, so it could be very useful for mobile.

Rate options are shown when word is not selected

Steps to reproduce:

  1. Open app pop-up
    Note: there should be no word selected

Expected result
Rate options are not shown.

Actual result
Rate options are shown. See the attachment.

Environments: Chrome 87.0.4280.88 64-bit, Firefox 83.0 64-bit, Microsoft Edge 87.0.664.66 64-bit

tempsnip

Pop-up definition no longer displays

Hi,

I've been using this app for a couple of weeks now, and it's fantastic--by far the best I've used. Unfortunately, I am no longer getting pop-up definitions upon double-clicking/selecting a word in Firefox. I checked for any settings settings that may be relevant, but had no luck. After this, I tried removing and re-adding the extension. However, it looks like Firefox preserves your add-on settings! I searched around for how to delete these without much luck, other than to learn that it may involve tracking down the correct keys in about:config (in my case, none of the modified key/value pairs jumped out at me as related to this extension.)

What should I try to get this activity back? It's very frustrating, as just after finding the ideal tool, it died! Ha. I imagine that a complete reset the extension data would probably fix it up, but I suppose I would need to know where to find this data. Otherwise, perhaps I'm just misunderstanding some setting (which a reset would've also fixed, heh.)

Thanks in advance for any help you can provide!

Right Mouse Klick should offer direct selection of dictionary (lookup tool)

Suggestion to enhance the Right Klick Menue Item like this:

  • Lookup in] expands to subgroup
    • Favorit1 [List of Items in "Favorit"]

    • Favorit2 [List of Items in "Favorit"]

    • Favorit3 [List of Items in "Favorit"]

    • EN

      • Leo DE-EN
      • Wikipedia EN
    • DE

      • Leo EN-DE
      • Wikipedia DE
    • ALL

    • [List of all ITems]
      Old Dictionaries should default to something like "searchLang": "ALL"

{
"dictName": "Leo DE-DE",
"showinRightMenue": "EN, Favorit"
"Type": "WORD-LOOKUP"
"windowUrl": "https://dict.leo.org/dictionary/"
}

建议增加最大规模的权威在线免费俚语词典 Green Dictionary of Slang (https://greensdictofslang.com)

Green Dictionary of Slang 是目前权威版权词典里面规模最大的一本俚语词典,而且现在其官网https://greensdictofslang.com 已经变成完全免费,以前其中的例句是收费的。该词典的俚语收词范围很大,而且包括各种英文国家的丰富例句,十分值得收录。由于是版权词典,比 Urban dictionary 这种自由开放的词典更加严谨权威。非常多俚语的用法只能在该词典查到。
ED0JQm8M5f

比如前几天在网上看到一个句子,用到了dumb,在那个句子里是表示强调的意思。而这个意思在其他很多词典里都找不到这个解释。只能在green dictionary of slang 里查到。

Images can not be added via AnkiWeb - suggestion to use AnkiConnect

I tried making an anki card with an image how you showed in the screencast but it didn't work. I got the following message on saving:

ankiuser.net says
"Sorry, images can not be added via AnkiWeb. Please use the computer version or a mobile client."

I suggest making an option for creating cards via the computer version using AnkiConnect to enable saving cards with images using the browser extension.

Disable loading dialog?

Personally I find loading dialog a bit of distraction, the definition page should appear once it has data to display, how to disable loading dialog box (the one with three dots)?

"Open the lookup history" shortcut works incorrectly

Steps to reproduce:

  1. Go to hotkeys settings
  2. Set up a hotkey for the "Open the lookup history" option
  3. Close settings
  4. Use the hotkey
  5. Verify the result

Expected result
Lookup history is opened.

Actual result
Lookup history is not opened.

Environments: Chrome 87.0.4280.88 64-bit, Firefox 83.0 64-bit, Microsoft Edge 87.0.664.66 64-bit

Clipboard search

Is it possible to add a hotkey for clipboard search in the dictionary? it's handy when using this extension with other ones, for example, I have an OCR extension that saves the image text in the clipboard and due to chrome security policy, I can't use the dictionary on that extension, if clipboard search exists, it will save a good amount of time and tons of unnecessary clicks, thanks.

why the browser size becomes small in size?

After I installed this add-on in Firefox, when Firefox is started again, the window size of the browser starts small. How is this happening?

After I disabled the extension, the Firefox works normally in the maximized form. How is this happening? Can you please look into this issue?

Thanks a lot.

Add a text parser?

Is it possible to add a text parser for languages like Chinese? Kind of like how the zhongwen add-on works on Firefox. Sometimes it's hard to figure out what is a word in Chinese (no spaces between words). then going to highlight it to look it up

再推荐几本好用的词典

  1. 韦氏高阶词典(不可多得的美式英语高阶学习型词典):https://learnersdictionary.com/
  2. 柯林斯在线词典汉化版(相比现有内置的柯林斯英语在线词典,界面汉化,更方便查询,而且还包含一些英汉的译文):https://www.collinsdictionary.com/zh/
  3. 剑桥英汉词典在线版(目前全网唯一的高阶英汉学习型词典在线版,译文相比纸版也有不少更新,比如 viral 的第二个新词义和双语例句是纸本没有的):https://dictionary.cambridge.org/zhs/

image

Always loading

I selected one english word,but always loading.I'm chinese,when i use vpn,it worked.
一直加载,应该是服务器不能访问,可以换服务器吗?

能否添加Wiktionary移动网页版?

Wiktionary 是一个不可多得的网络开放大型综合型词典,收词量非常全面,而且根据我多年的查词经验,很多专科领域的词义和新词新义只有这本词典有所收录。相对于Oxford、Webster等传统词典,可以形成良好的补充。强烈建议加入~~~ 它的移动网页版比标准网页版更加清爽易读,没有多余的东西。

移动网页版主页:https://en.m.wiktionary.org/wiki/Wiktionary:Main_Page

双击单词未出现黑框词典 (需要帮助)

其他都是正常的,只是双击后,黑框内未出现词典,只有三点缓冲。如下图:
截屏2022-03-28 21 16 41

(我非常笨,实在不知道哪里出了问题,希望可以帮帮我,非常感谢!😭
Chrome版本:99.0.4844.51(正式版本)(arm64)
电脑版本:mbp m1芯片 12.2.1

Automatic popup dict window doesn't add to word history

Using the automatic popup dictionary window feature doesn't add to the word history. Tested with and without a hotkey, only using Spanish (3 different dictionaries though), on latest version of Firefox. Manually searching does work as expected.

能否实现同时呈现多部词典查询结果?

如果能实现多个词典同时呈现查词结果,自定义同时查询的词典数量和排序,查词效率将大大提升。不知实现难度如何,谢谢~~~

目前已有类似扩展“沙拉查词” 实现多词典查询功能(当然这个扩展不如本Dictionaries扩展的内置词典丰富),截图供参考:
image

Lookup result is provided from deleted dictionary

Steps to reproduce:

  1. Go to dictionaries settings
  2. Delete the first dictionary (Longman by default)
  3. Open app pop-up
  4. Verify the behavior

Expected result
The deleted dictionary is not shown on the pop-up.

Actual result
The deleted dictionary is preselected. Also when looking up a word, the deleted dictionary's result is provided.

Environments: Chrome 87.0.4280.88 64-bit, Firefox 83.0 64-bit, Microsoft Edge 87.0.664.66 64-bit

Sorting by rate column works incorrectly in lookup history

Pre-requisites:

  • There are several words in lookup history

Steps to reproduce:

  1. Open lookup history
  2. Rate a word (do not refresh the page after it)
  3. Sort the table by the rate column

Expected result
Words are sorted correctly based on the selected sorting configuration.

Actual result
Words are sorted incorrectly. See the attachment demonstrating the behavior. In this case, the word "programming" had been rated.

Environments: Chrome 87.0.4280.88 64-bit, Firefox 83.0 64-bit, Microsoft Edge 87.0.664.66 64-bit

75a90aa09940d1f240109f88b35b048c

Text Field

Can an option be implemented to disable in text fields?

I am constantly getting the floating definition in google search fields, email, username, etc fields.

Remove "Share with pals".

Hi, I want to remove the "Share with pals" right menu item. I can't find how to do it in the settings. Thanks in advance.

Best regards.

It conflicts with a 'Free code camp' task

This app makes an error in 'freecodecamp'-'Responsive Web Design Certification'-'Applied Visual Design'-'Set the font-size for Multiple Heading Elements' task.

I could't move on finishing the given task correctly, but was able to after turning it off.

I had a similar trouble with 'Dark Reader' app during the course for a changing font-color task.

So I figured out that this too must had been a problem related to some google extensions.

This time it was 'dictionaries.'

Anyway, I really love your app and tremendouasly appreciate the convinience I had with it while working.

Thank you for your work!

Font color not being applied to word definition (CSS)

image
image

As you can see from the screenshots, color is being overwritten by a another style rule from the website (which is in this case libredd.it)

this is due to the fact that "styles for a directly targeted element will always take precedence over inherited styles" (read more on Directly targeted elements vs. inherited styles | MDN)

This can be fixed by adding .fairydict-content, .fairydict-prons to:

.dictionaries-tooltip .dictionaries-tooltip-content, .fairydict-content, .fairydict-prons {
  color: #fff;
  font-size: 14px;
  line-height: normal;
}

or perhaps .fairydict-symbol, .fairydict-pos, .fairydict-def would be more consistent?

as for the play audio icons, I'll report them in the next issue

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.