How to anonymize a Kinopio space

· Ben’s Blog


This is useful for sharing screenshots of Kinopio spaces with sensitive information. It replaces all letters with asterisks. In the JavaScript console, execute this code:

1document
2  .querySelectorAll(".card-content .name > span")
3  .forEach(name => (name.textContent = name.textContent.replace(/[^\s]/g, "*")))