Skip to content

Instantly share code, notes, and snippets.

@arikui
Created January 23, 2010 03:26
Show Gist options
  • Save arikui/284405 to your computer and use it in GitHub Desktop.
Save arikui/284405 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name misakurago
// @namespace d.hatena.ne.jp/arikui
// @include http://twitter.com/
// @description http://jet-black-laver.sakura.ne.jp/RTM/nankotu.htm
// ==/UserScript==
GM_xmlhttpRequest({
method : "GET",
url: "http://jet-black-laver.sakura.ne.jp/RTM/misakura.js",
overrideMimeType:"text/plain; charset=Shift_JIS",
onload: function(r){
eval(r.responseText);
document.getElementById('update-submit').addEventListener("click", function(){
document.getElementById('status').value = misakura(document.getElementById('status').value);
this.form.submit();
}, false);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment