Changeset 34669
- Timestamp:
- 07/29/09 04:18:29 (4 years ago)
- Location:
- websites/twicli
- Files:
-
- 2 modified
-
index.html (modified) (3 diffs)
-
twicli.html (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
websites/twicli/index.html
r33266 r34669 12 12 li { margin: 4px; } 13 13 h1 { border-bottom: solid 2px red; } 14 h2 { border-left: solid 1.2em #cf6; padding-left: 4px; } 15 h3 { border-left: solid 1.2em #fc0; padding-left: 4px; } 14 16 img { border: none; } 15 17 --></style> … … 48 50 上のリンク(bookmarklet)をクリック、またはブックマークにD&Dで登録して選択すると、別窓で起動します。<br> 49 51 認証を求められたら、Twitterのアカウント/パスワードを入力してください。<br><br> 50 あんまり激しくクリックしまくると<b>API制限(1 00回/1時間)</b>にすぐ引っかかりますので、基本まったりご使用下さい。^^;52 あんまり激しくクリックしまくると<b>API制限(150回/1時間)</b>にすぐ引っかかりますので、基本まったりご使用下さい。^^; 51 53 </p> 52 54 … … 71 73 <img alt="usage" src="usage4.png" width="1" height="1"> 72 74 <img alt="usage" src="usage5.png" width="1" height="1"> 75 76 <h2>カスタマイズ</h2> 77 <h3>user stylesheetについて</h3> 78 「+」タブのuser stylesheetにCSSを記述して、見た目のカスタマイズが可能です。例えば: 79 <ul> 80 <li>ユーザのアイコンを消す → <tt> .uicon { display: none; } </tt> 81 <li>発言の行間を広げる → <tt> .status { line-height: 1.5; } </tt> 82 </ul> 73 83 74 84 <h3>プラグインについて</h3> -
websites/twicli/twicli.html
r34605 r34669 452 452 if (!popup_id) return false; 453 453 if (!confirm("Are you sure to delete this message (@"+popup_user+" / "+popup_id+")?")) return false; 454 $("loading").style.display = " display";454 $("loading").style.display = "block"; 455 455 if ($("text" + popup_id)) $("text" + popup_id).style.textDecoration = "line-through"; 456 456 enqueuePost(twitterURL + 'status/destroy/' + popup_id + '.xml', … … 605 605 for (var j in tw) callPlugins("gotNewReply", tw[j]); 606 606 tw.reverse(); 607 var nr = tw.length; 607 608 if (replies_in_tl) 608 twShowToNode(tw, $("tw"), false, false, true);609 if ( tw.length > 0 && $("tw").className.indexOf("new") < 0)609 nr = twShowToNode(tw, $("tw"), false, false, true); 610 if (nr > 0 && $("reply").className.indexOf("new") < 0) 610 611 $("reply").className += " new"; 611 612 if (tw.length > 0) since_id_reply = tw[0].id; … … 665 666 $('loading').style.display = 'none'; 666 667 var len = tw.length; 667 if (len == 0) return len;668 if (len == 0) return 0; 668 669 var pNode = document.createElement('div'); 669 670 var dummy = pNode.appendChild(document.createElement('div')); 670 671 var myname_r = new RegExp("@"+myname+"\\b","i"); 672 var nr_show = 0; 671 673 for (var i = len-1; i >= 0; i--) { 672 674 if ($(twNode.id + "-" + tw[i].id)) … … 677 679 s.innerHTML = makeHTML(tw[i], no_name, twNode.id); 678 680 s.screen_name = tw[i].user.screen_name; 679 if (tw[i].d_dir == 1 || tw[i].text.match(myname_r)) 681 if (tw[i].d_dir == 1 || tw[i].text.match(myname_r)) { 680 682 s.className = "tome"; 683 if (twNode.id == "tw" && $("reply").className.indexOf("new") < 0) 684 $("reply").className += " new"; 685 } 681 686 if (tw[i].d_dir == 2 || tw[i].user.screen_name == myname) 682 687 s.className = "fromme"; 683 688 callPlugins("newMessageElement", s, tw[i], twNode.id); 684 689 pNode.insertBefore(s, pNode.childNodes[0]); 690 nr_show++; 685 691 } 686 692 } … … 709 715 } 710 716 if (animation) { 711 nr_tw += len;717 nr_tw += nr_show; 712 718 while (nr_tw > nr_limit) { 713 719 var last_node = twNode.childNodes[twNode.childNodes.length-1]; … … 722 728 } 723 729 } 724 return len730 return nr_show; 725 731 } 726 732 // 新規twitの出現アニメーション処理 … … 918 924 window.onmousewheel = document.onmousewheel = wheel; 919 925 </script> 926 <script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type="text/javascript">try { var pageTracker = _gat._getTracker("UA-6677831-1"); pageTracker._trackPageview(); } catch(err) {}</script> 920 927 </body> 921 928 </html>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)