Mixi appliの勉強用 Greasemonkey
mixiアプリxmlのURIを表示するgreasemonkey - たばさの - Rubyist
これ Mixi appli を作るの勉強するのに,少し便利かも
ただ popup はきらいだから変えました.
以下 ソース
// ==UserScript== // @name mixi appli uri // @namespace http://d.hatena.ne.jp/keijir/ // @description display mixi appli uri link // @include http://platform001.mixi.jp/run_appli.pl?* // ==/UserScript== // this script based on // http://rubyist.g.hatena.ne.jp/hatecha/20090411/p2 // thanks hatecha. (function () { var Anchor = document.body.getElementsByTagName('iframe'); var url; for(var i in Anchor) { href = Anchor[i].src; if(href && href.match(/canvas&url=(.*)%3F/)) { url = decodeURIComponent(RegExp.$1); } } var item = document.createElement('div'); item.setAttribute('class', 'xmllink'); item.innerHTML = '<a href="' + url + '">' + url +'</a>'; var r = document.getElementById('headerArea'); r.appendChild(item); })();