proginosko / LeechBlockNG

LeechBlock NG (Next Generation) for Firefox is a simple productivity tool designed to block those time-wasting sites that can suck the life out of your working day. All you need to do is specify which sites to block and when to block them.
https://www.proginosko.com/leechblock/
Mozilla Public License 2.0
698 stars 64 forks source link

Disable spellchecking on mobile #117

Open codethief opened 5 years ago

codethief commented 5 years ago

In Firefox for Android, text like the passphrase to enter Leechblock's settings or the domains that should be blocked often get auto-corrected. Could this be changed by, say, adding a spellcheck="false" attribute to those text inputs?

proginosko commented 5 years ago

Good suggestion, but I'm not sure it's fixable at this point. I did some research and as far as I can gather Firefox for Android doesn't recognize the autocorrect attribute (as some other browsers do) and spellcheck won't affect auto-correct.

codethief commented 5 years ago

Oh right, it would be autocorrect, of course. Well, it is really unfortunat that Firefox doesn't support it. (Even worse is that there doesn't even seem to be any discussion about it anymore; the only thing I was able to find was this thread on the mailing list and this old bug report for Firefox OS.)

Moreover, it also looks like the WHATWG ultimately decided against the idea of an inputmode attribute (in particular, inputmode="verbatim")? (Compare this discussion on StackOverflow and comments therein.)

Given the state of the matters, what should we do with the present bug report?

[UPDATE] Turns out, inputmode is still there but now it is a global attribute. Unfortunately, though, the verbatim value is gone. (Let alone the fact that Firefox doesn't support the attribute yet.)

proginosko commented 9 months ago

Is this still an issue that needs to be fixed?

codethief commented 9 months ago

Hi @proginosko , yes, this is still an issue, unfortunately.

proginosko commented 9 months ago

Okay, thanks. Unfortunately, I don't think there's anything extension developers can do about it, until Firefox for Android supports the relevant HTML attributes.

codethief commented 9 months ago

Thanks for your message!

until Firefox for Android supports the relevant HTML attributes

Is there even an HTML attribute these days?

spellcheck won't affect auto-correct.

I suppose you tested this?

proginosko commented 9 months ago

I suppose you tested this?

I don't recall if I tested it. 'Twas a long time ago. :)

But you can test it yourself here: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_global_spellcheck

codethief commented 2 weeks ago

https://github.com/whatwg/html/issues/3595 has just been merged, so let's see when we'll get to use it in our browsers. :)