Created
November 23, 2013 10:48
-
-
Save jokertarot/7613162 to your computer and use it in GitHub Desktop.
Twitter < "進捗どうですか?"
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 sinchoku doudesuka | |
// @description 進捗どうですか? | |
// @include https://twitter.com/* | |
// ==/UserScript== | |
var shinchoku = function() { | |
var d = document.getElementById('tweet-box-mini-home-profile'); | |
if (d) d.firstChild.innerHTML = '進捗どうですか?'; | |
}; | |
window.addEventListener('load', function() { | |
shinchoku(); | |
var n = document.getElementsByClassName('tweet-box')[0]; | |
if (n) n.addEventListener('focusout', function(e) { | |
setTimeout(shinchoku, 0); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment