Created
December 9, 2012 14:06
-
-
Save shizone/4245034 to your computer and use it in GitHub Desktop.
We are irof
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 We are irof | |
// @namespace http://shizone.github.com/ | |
// @description irof Advent Calendar 2012/12/09. | |
// @include http://atnd.org/events/34079 | |
// ==/UserScript== | |
(function() { | |
document.body.innerHTML = document.body.innerHTML.replace( | |
/<a href=\"\/users\/.*<\/a>/g, | |
"<a href=\"/users/46692\">irof</a>"); | |
document.body.innerHTML = document.body.innerHTML.replace( | |
/<a href=\"https\:\/\/twitter\.com\/.*<\/a>/g, | |
"<a href=\"https://twitter.com/irof\">@irof</a>"); | |
document.body.innerHTML = document.body.innerHTML.replace( | |
/<img alt=\".*\" class=\"icon\" height=\"18\" src=.* width=\"18\"/g, | |
"<img alt=\"irof\" class=\"icon\" height=\"18\" src=\"http://a0.twimg.com/profile_images/2893364623/a3ba6e45fec2eea4edb9c7d688c7c7e3_normal.jpeg\" width=\"18\""); | |
document.body.innerHTML = document.body.innerHTML.replace( | |
/<img alt=\".*\" class=\"icon\" src="\/.*1354082069\">/g, | |
"<img alt=\"irof\" class=\"icon\" height=\"18\" src=\"http://a0.twimg.com/profile_images/2893364623/a3ba6e45fec2eea4edb9c7d688c7c7e3_normal.jpeg\" width=\"18\">"); | |
} | |
)(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment