Greasy Fork镜像 is available in English.

Discussões » Solicitações de Criação

Highlight non-breaking spaces in inputs

§
Publicado em: 21/12/2020
Editado em: 21/12/2020

I'd like to have a script that would automatically highlight non-breaking spaces in inputs, and so that would continuously update when I type in search of non-breaking spaces. Does anybody know something similar to this?

§
Publicado em: 21/12/2020

Maybe I can do this. I will return and tell you later

§
Publicado em: 21/12/2020

+1. nice

§
Publicado em: 21/12/2020

I'm back and that's what I figured out: it is possible to do, but it would be way better if this script will do its job either on its own, prepared page, either on a specific preassigned website. Otherwise, if the script will try to make any input highlighted on any website, it would be buggy and unstable.

§
Publicado em: 21/12/2020
Editado em: 21/12/2020

I see. The reason I ask this is for translation purposes: there needs to be non-breaking spaces before some characters in my language. Highlighting them would make it easier to spot them. Would it be possible to apply it on Crowdin? https://crowdin.com/
And thank you very much for your kind help!

§
Publicado em: 21/12/2020

Wow, you're doing God's work!! Thank you so much! The only snag is that the script stops working when switching to another string. It only works for the first string loaded on the page.

§
Publicado em: 21/12/2020

Updated with fix (at same link)

§
Publicado em: 22/12/2020

!!!! Thank you a zillion times!! That's absolutely perfect!

Enviar resposta

Entre para publicar uma resposta.

长期地址
遇到问题?请前往 GitHub 提 Issues。