2008-01-30から1日間の記事一覧

iframeを使用したクロスドメインPOST

指定したidのiframeのdocumentを取得する関数 function getIframeDoc(iframeId){ var iframe = document.getElementById(iframeId); if (document.all) { return iframe.contentWindow.document; } else { return iframe.contentDocument; } } こんな感じで…

またニコニコ動画見てるグリモンをSeaHorseに移植したい

とりあえずイベント処理やflvplayerの取得などをIEコンポーネント対応するのは出来て、 GM_xmlhttpRequestのダミーで本来POSTすべき内容をalertで表示するところまでは出来た。 // ==UserScript== // @name mata nicovideo // @namespace http://d.hatena.ne…