DownloadNicoVideo.js - Sleipnirでニコ動の動画をダウンロードするためのuserActionスクリプト
シンプル・イズ・ベスト。xmlhttprequestを使わずに書いてみた。ニコ厨の「足あと」を捕捉する方法の記事で使った方法と同じ。
if(_document.getElementById("flvplayer")){
var videoURL = _document.getElementById("flvplayer").GetVariable("o.url");
sleipnir.API.Navigate(sleipnir.API.GetDocumentID(sleipnir.API.ActiveIndex),videoURL);
}
DownloadNicoVideo.jsとでも名前を付けて保存してインストールするといいかも。