Created
November 6, 2008 16:21
-
-
Save hakobe/22627 to your computer and use it in GitHub Desktop.
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
| // ==UserScript== | |
| // @name replace_ritsboy | |
| // @namespace jp.hakobe.gm | |
| // @include http://twitter.com/.* | |
| // ==/UserScript== | |
| var nodes = document.getElementsByClassName('status-body'); | |
| for (var i in nodes) { | |
| var node = nodes[i].childNodes[1].childNodes[1].firstChild; | |
| if (node.innerHTML == 'ritsboy') { | |
| node.innerHTML = 'udonchan'; | |
| node.setAttribute('title', 'udonchan'); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment