Greasy Fork is available in English.

Discussions » Demandes de création de scripts

Highlight non-breaking spaces in inputs

§
Posté le: 2020-12-21
Édité le: 2020-12-21

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?

§
Posté le: 2020-12-21

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

§
Posté le: 2020-12-21

+1. nice

§
Posté le: 2020-12-21

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.

§
Posté le: 2020-12-21
Édité le: 2020-12-21

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!

§
Posté le: 2020-12-21

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.

§
Posté le: 2020-12-21

Updated with fix (at same link)

§
Posté le: 2020-12-22

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

Poster une réponse

Connectez-vous pour poster une réponse.