Skip to content

Instantly share code, notes, and snippets.

@danielsmith-eu
Created October 23, 2014 13:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielsmith-eu/52dd0afade4cbd635a70 to your computer and use it in GitHub Desktop.
Save danielsmith-eu/52dd0afade4cbd635a70 to your computer and use it in GitHub Desktop.
Who's that Meat? - for meatspace 2
function setMeatColor() {
var nodes = document.getElementById("messages").childNodes;
for (var i = 0; i < nodes.length; ++i) {
var node = nodes[i];
var fp = node.attributes['data-fp'].value;
node.style.borderLeft = "6px solid #" + fp.substr(0,6);
}
setTimeout(setMeatColor, 100);
}
setMeatColor();
@danielsmith-eu
Copy link
Author

Copy/paste this into the console for now. I will wrap this into a bookmark later on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment