Skip to content

Instantly share code, notes, and snippets.

@hakobe
Created November 6, 2008 16:21
Show Gist options
  • Select an option

  • Save hakobe/22627 to your computer and use it in GitHub Desktop.

Select an option

Save hakobe/22627 to your computer and use it in GitHub Desktop.
// ==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