討論 » 建立請求

Highlight non-breaking spaces in inputs

§
發表於:2020-12-21
編輯: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?

§
發表於:2020-12-21

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

§
發表於:2020-12-21

+1. nice

§
發表於: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.

§
發表於:2020-12-21
編輯: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!

§
發表於: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.

§
發表於:2020-12-21

Updated with fix (at same link)

§
發表於:2020-12-22

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

發表回覆

登入以回覆

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