æè¿ãé·ãã¿ã¤ãã«ã...ã§çç¥ãã¦ããã®ãããã©...
twitterã§ã²ã¨ããã¬ã¾ãã£ã¦ãããã©ãå·éã«èããã¨ã©ãã§ãããæ°ããã¦ãã話ã®ã¾ã¨ãã
- ultraistter
- # æè¿ãé·ãã¿ã¤ãã«ã...ã§çç¥ãã¦ããã®ãããã©ãã¢ã¬ãè¦ãç®ã ãã®ãã¶ã¤ã³ãéè¦ãã¦UIããã¿ãããã¼ã¿ã®identificationãç ´æ» ããã¦ãããep 8ãæ¢ãã«ã¯ãã¬ã¤ãªã¹ãã®ã¿ã¤ãã«ãã²ã¨ã¤ãã¤ãã©ã¼ã«ã¹ãã¦tooltipã確èªããªãã¨ãã¡ã§ãªã¹ãã®æå³ããªãã9:53 AM May 1st from P3:PeraPeraPrv
- ultraistter
- # å ¨åèªæ°-1..3ã®çµã¿åããã§ãããããå¥ã®ãã¼ã¿ãæ¢ãã¦(1/ãããæ°)ã大ãããªãã°ã«ã¼ãã®åèªã¯èå¥ã«éè¦ãªæ å ±ãªã®ã§åèªã®éè¦åº¦ä¸ãã¦ãã¨ãã§ep8ãç¹ã«å¤§ãããªãã¯ããªã®ã§ããã®ä»è¿ãã§ããã ãä¿åããç¶æ ã§å¾ãã®ã»ããçç¥ãã¦Næåã«ãããã¿ãããªã¢ã«ã´ãªãºã ç¡ãã®10:01 AM May 1st from P3:PeraPeraPrv
- ultraistter
- # @fuba ãããã¼ã¿ã®é·ãã¿ã¤ãã«ãçç¥ããå ´åã«ã§ããã ããã¼ã¿ã®èå¥ã«å½¹ç«ã¤åèªãæ®ãã¦çç¥(è¦ç´?)ããããå ·ä½çã«ã¯ãã®ãªã¹ãã§epãè¦ããããã«çç¥ããã http://gyazo.com/a0f524b67a9b79435a4692ea3f1862a1.png 10:09 AM May 1st from P3:PeraPeraPrv
- ultraistter
- # ãããã¨ããããããããã®ãåå¨ãã¦ã¦ããæ®éã«ä½¿ãããä¸çãæ±ãã¦ãã10:10 AM May 1st from P3:PeraPeraPrv
- ultraistter
- # éç¨ã¯é£ããã®ã ãããããã åç´ã«ã¶ã£ãåãã®ã¯ããªããããã¦ãªæ¹æ³ãªã®ã§ããããããå°ããã·ãªæ¹æ³ã¯ãªãã®ãã¨æã£ããã§ãã10:23 AM May 1st from P3:PeraPeraPrv
- ultraistter
- # "Melancholy Haruhi-chan", "Melancholy Suzumiya"ã¨ãã«æ¯ã¹ã¦"Suzuymiya ep8", "Melancholy ep8"ã¨ãã¯æ¥æ¿ã«é »åº¦ãå°ãªããªã(ã¯ã)ãªã®ã§ãep8ããããã!æ®ã!ã¿ãããªãã¨ãè¨ãããã£ã10:40 AM May 1st from P3:PeraPeraPrv
- ultraistter
- # ææªPlaylistå ã ãã¨ãRelated Videosã ãã§ãããã§ãããçç¥ããã¦ããã®ã¯ããã ãã ããããã¯ä¼¼ãã¿ã¤ãã«ãé¸ã°ãã¦åºã¦ãã¦ããã¯ããªã®ã«ä¼¼ãé¨åã ãæ®ãã¦çç¥ããã¦ã¦ãªããããã¨æ°ã«ãªã£ã10:43 AM May 1st from P3:PeraPeraPrv
- ultraistter
- # ã°ãªã¢ã³ã§ã§ããããªæ°ããã¦ãããã©ãããã10:49 AM May 1st from P3:PeraPeraPrv
- ultraistter
- # å¯ãã®ã«å¤±æããã®ã§ãæ¨æ¥è¨ã£ã¦ãyoutubeã®ã°ãªã¢ã³ä½ããã¨ãã¦ããã©ãfirebug使ããªããã ã£ãâ¦ç´3æé ago from P3:PeraPeraPrv
- ultraistter
- # ç¹å®ã®ã±ã¼ã¹ã«ã¤ãã¦ã¯ã§ãã http://gyazo.com/1a6c66e8b44db61c36d57fe6c1d5f646.png
- ultraistter
- 大ä½ã§ãã¦ãæ°ã¯ãããã©ãããããé·ãã¿ã¤ãã«ãç¨ãªæ°ããã¦ãã http://gyazo.com/0775fffbe12d6bd5f26f91ae52e89921.png
- ultraistter
- # ã°ãªã¢ã³ãã½ã¼ã¹ã³ã¼ãçãªæå³ã§ç½®ãã http://tinyurl.com/dc8aft ç´1æé ago from P3:PeraPeraPrv
- ultraistter
- # æ¥æ¬èªã¯ãã©ããªãã®ã§ç¡çã ãMeCab.jsããã44å ago from P3:PeraPeraPrv
- ultraistter
- # æ¥æ¬èªã¯ã°ãªã¢ã³ããYahooã®å½¢æ ç´ è§£æAPIã«æããã°ããã®ããã¨ããããã¯ãããªãâ¦20å ago from P3:PeraPeraPrv
- ultraistter
- # ãããããã¼IDãããããç¡çããèªåã§MeCab.cgiç½®ãã°ãããã©ããããã«ã»ã»ã»ã¨ãã18å ago from P3:PeraPeraPrv
- ultraistter
- ãªã¹ãã®ä¸ã§ããã«é層ãæããªãã¨ãã¡ãªæãã â¦ããä½è ã¿ã¤ãã«(10åããã) ç« (1ã3)ãã¨ãã ã¨ããä½è ...ã¿ã¤ãã«ãã«ãªã£ã¦ãã¾ãããã å¶éæåæ°ãå°ãªãã®ã§ãã¾ãããã°ã£ã¦ãæå³ä¸æãªæååã並ã¹ãæãã«ãªã£ã¦ãã¾ãã
ãã«ãã¡ããã¯ãã¿ã§ãã
æ®éã«ãããããªãã§ããã©ãææããªãããã¨ããããåããã®ãä½ã£ãã
afterâbefore
http://www.udp.jp/misc/userscript/youtube_playlist_summari.user.js
// ==UserScript== // @name youtube playlist !!!smart!!! summarizer // @namespace http://www.udp.jp/ // @include http://www.youtube.com/*feature=PlayList* // ==/UserScript== // Youtubeã®ãã¬ã¤ãªã¹ã㧠// ã¿ã¤ãã«ãåããNæåã§ã¶ã£ãåããã¦èå¥ä¸è½ã«ãªããã¨ãããã®ã§ // ãã¼ã¿ã®èå¥ã«å½¹ç«ã¡ãããªæ å ±ãæ®ãã¦çç¥ãããã® // after<-before http://gyazo.com/325f12ff6253b79dfc6fe762655aeac5.png function getTitleNode(o) { var child = o.childNodes; for (var i = 0; i < child.length; ++i) { if (child[i].className == "vtitle") { return child[i]; } } return null; } function getPlaylist() { var div = document.getElementsByTagName("div"); var playlist = new Array(); for (var i = 0; i < div.length; ++i) { if (div[i].className == "watch-playlist-row-middle") { var node = getTitleNode(div[i]); if (node) { var title = new String(node.title); title.update = (function (o) { return function (new_title) { o.textContent = new_title; }; })(node); playlist.push(title); } } } return playlist; } function summarize(n, str, list) { var i, j, m; var token = str.split(/[ ã\{\}\[\]\(\)]+/); var id_token = new Object; var comp_str = ""; for (i = 0; i < token.length; ++i) { token[i] = new String(token[i].toLowerCase()); token[i].freq = 0; } // strã®2åèªã®çµã¿åããã«ã¤ãã¦listå ã®é »åº¦ãè¨ç® for (i = 0; i < token.length; ++i) { for (j = i + 1; j < token.length; ++j) { var freq = 0; for (m = 0; m < list.length; ++m) { var lc = list[m].toLowerCase(); if (lc.indexOf(token[i]) != -1 && lc.indexOf(token[j]) != -1) { ++freq; } } token[i].freq += freq; token[j].freq += freq; } } token.sort(function(a, b) { return a.freq - b.freq; }); // é »åº¦ã®ä¸çªå°ãªãã®ãidã¨ãããã¨ã«â¦ // (æ¬å½ã¯[ä¸çª]ã¨ãã§ã¯ãªãã½ãããªæãã§ãããã) id_token.text = token[0]; id_token.index = str.toLowerCase().indexOf(token[0]); id_token.length = token[0].length; // ...çç¥ if (n <= id_token.length) { // id ãnã¨åããé·ã comp_str = id_token.text.substr(0, n); } else if (id_token.index + id_token.length <= n - 2) { // idä½ç½®ã¾ã§nã«ååå ¥ã if (n < str.length) { comp_str = str.substr(0, n - 2) + ".."; } else { comp_str = str; } } else { // idã®åæ¹çç¥ if (id_token.index + id_token.length < str.length) { comp_str = str.substr(0, n - id_token.length - 4) + ".." + id_token.text + ".."; } else { comp_str = str.substr(0, n - id_token.length - 2) + ".." + id_token.text; } } return comp_str; } var playlist = getPlaylist(); for (var i = 0; i < playlist.length; ++i) { playlist[i].update(summarize(22, playlist[i], playlist)); }
@fubaæ§ããã³@penguinanaæ§ã«ã¯ãã³ããããã ãã¾ããã