Created
December 6, 2008 05:11
-
-
Save cherenkov/32618 to your computer and use it in GitHub Desktop.
This file contains 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 hateb_link_user_diary2 | |
// @namespace http://d.hatena.ne.jp/Cherenkov/ | |
// @include http://b.hatena.ne.jp/entry/* | |
// ==/UserScript== | |
var icons = document.evaluate('//a[@class="username"]', document, null, 7, null); | |
for(var i=0;i<icons.snapshotLength;i++){ | |
icons.snapshotItem(i).href = icons.snapshotItem(i).previousSibling.previousSibling.href.replace('b','d'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment