Implement our own display algorithms. This is what we ended up doing at Kickstarter. We used Google's open-source algorithm and show a warning if it's possible that the url shown on the page is a homograph for another url.
If you published this as an npm package (e.g. sanitizeHomograph(url)) then all of us could use it to sanitize URLs we display on profile pages.
If you published this as an npm package (e.g.
sanitizeHomograph(url)
) then all of us could use it to sanitize URLs we display on profile pages.sorry this took a while! github.com/kickstarter/ruby-homogr...
Kickstarter is about to publish the ruby code as a gem! Would be down to do in js as well 😊