Skip to content

Instantly share code, notes, and snippets.

@tmyt
Created January 30, 2011 15:58
Show Gist options
  • Save tmyt/802965 to your computer and use it in GitHub Desktop.
Save tmyt/802965 to your computer and use it in GitHub Desktop.
Azurea Script Sample
/*
Postの中で最初に出現するURLをブラウザで開くショートカットキーをつくってみた。
.キーで実行されまする。
API Level >= 8 な環境で使ってね!
*/
System.addKeyBindingHandler(0xBE, 0, function(id){
var urls = new Array();
TwitterService.status.getUrls(id, urls);
if(urls.length > 0) System.openUrl(urls[0]);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment