Created
October 23, 2014 13:35
-
-
Save danielsmith-eu/52dd0afade4cbd635a70 to your computer and use it in GitHub Desktop.
Who's that Meat? - for meatspace 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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(); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy/paste this into the console for now. I will wrap this into a bookmark later on.