Git Product home page Git Product logo

firefoxautodict's People

Contributors

kimsey0 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

Watchers

 avatar  avatar  avatar

firefoxautodict's Issues

Firefox 78.15

Ok, I have an old Firefox 78.15.0 on Mac El Capitan. Don't ask why.

I am generally typing in English and Russian.

The extension does not automatically switch the spelling dictionary neither in Gmail nor YouTube.

Since the above languages use different languages, I switch keyboard language using Ctrl+Space shortcut. Then I have to right click and choose spelling language manually.

My question is, why do I have to select language twice? Why does the extension not check the language in the selected keyboard language?

Why is your extension not based on keyboard language? Why is there no extension based on keyboard language? Why is there need for an add-on when the language is already specified? By input keyboard language!

I also sometimes type in Latvian. Since English uses the same keyboard as Latvian, and Latvian offers additional characters, in the Ctrl+Space previous language selection I switch between Russian to type Russian and Latvian to type English or Latvian. In the second case the language selection based on the typed text would be handy. Why it is not possible to configure what spelling languages are selected when a specific language keyboard is selected? For example leave Russian as is but on Latvian detect from what is typed?

Request: Thunderbird support

Thanks to your add-on, I'm saving precious seconds every hour, meaning precious minutes every day and at least precious weeks in the end. I cannot be more thankful for that.

Now I would be beside myself with joy if a Thunderbird version would be also released.

Doesn't work correctly on Twitter

When the page loads (and if you write in one language and delete what you've written) the placeholder text in the input box for a new tweet is not checked. And it doesn't update the language while writing a tweet.

For page load or deleting the content and focusing out of the box so the placeholder appears:
image

And the language doesn't get updated while typing:
image

Allow possibility to ignore some text

I've just tested it briefly in Discord and a webmail (roundcube) and this seems to work great.
One issue though: in webmail, in most cases, a signature is pre-entered, or there may be quoted text not necessarily in the language I choose for my message.
Would it be possible to have a setting to ignore part of the text in a textzone? At best it'd be a regexp and you'd be able to ignore what is after or before any match. E.g., for signature I'd have

Ignore from `^--$`

for quoted text

Ignore from `^On 20[0-9][0-9]-[0-9][0-9]-[0-9][0-9], .* wrote:$`

many thanks

Suggest less disruptive step for content-prefs.sqlite

I took a look into content-prefs.sqlite, and it looks like spellchecker settings have the same ID.

Maybe worth suggesting to use a SQLite browser to remove those settings with Firefox close, more than removing all settings?

DELETE FROM prefs WHERE settingID=(SELECT id FROM Settings WHERE name='spellcheck.lang')

Doesn't seem to work on Slack

Nightly 78.0a1 (2020-05-07) (64 bit) on macOS. The add-on works for me on GitHub, Gmail, Reddit so far, but that doesn't seem to work on Slack.

Not working on youtube, gmail?

Hello!

These two websites are the main ones where I would switch between languages, but this addon never does.
No matter how many words I write.

Linux support

Thank you for writing this add-on. Do you know if it works on Linux?

I'm running Firefox 67.0 on Linux Mint 19, and it does not seem to work for me. I've tried it in GitHub (when writing this GitHub issue), and in Slack.

I have the spell check language set to English by default, and I have Norwegian dictionary (not language pack) installed as an add-on. Writing a few lines of Norwegian did not cause it to switch from English to Norwegian (I get a red squiggly line under each word.)

I tried deleting my content-prefs.sqlite file, which did remove my zoom preferences and, I think, reset the spell check language back to the default, English.

Switching languages manually by right-clicking the text box and selecting it in the spell check language menu works as normal.

Doesn't work at all on email programs

e.g. Zoho mail. It doesn't work in gmail either I guess because of this "content preference" you write about. How to clear that on macOS?

I constantly go back and forth writing in English or French. I've opened the Languages menu and picked one a hundred times on so many sites.

Couldn't there be a hotkey to trigger the add-on to analyze and act instead of hoping the automagical behaviour will kick in if there's no pre-established preference.

Support Telegram Web and WhatsApp Web

Add-On works fine on github for me. But on web.telegram.org and web.whatsapp.com it doesn't.
Is it possible to support those websites?

If needed I can provided logs or something. I'm using version 1.0 on firefox 73.0-1 on arch linux.

Do not try to second-guess textareas already containing a lang attribute

Some sites, like Duolingo, already do define a lang attribute in their input fields. FirefoxAutoDict ignores this value and attempts to guess the language based on what the user starts typing, and sometimes it does guess wrong.

For example, I once was typing in French "tu es ..." and the extension interfered and switched the field to Spanish. Even though these are words present in the Spanish language, it would not be grammatically correct in Spanish (that would be "tú eres"). This is especially annoying for users like me who have more than 8 different language dictionaries installed and occasionally writes in all of those languages: we tend to be more affected by mistakes made by the Compact Language Detection framework.

To fix this, I propose FirefoxAutoDict should ignore input fields for which the website has already explicitly defined a lang attribute.

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.