- 852 名前:名無しさん@お腹いっぱい。 mailto:sage [2009/09/03(木) 09:44:16 ID:1gEm+w3S0]
- 【V2C】 1.0.6_06 [R20090902] (L-0.5)
【Java】 1.6.0_16-b01 (Sun Microsystems Inc.) 【OS】 Windows 2000 (x86) 【不具合内容】 ポップアップで特定の画像を表示しようとするとCPU利用率が100%になります。 【再現方法】 下記スクリプトを適当な名前で保存・登録し、レス表示欄で調べたい文字列を選択してポップアップメニューから設定したコマンドを選択する。 function createPopupString(bh) { var ss = v2c.context.selText; if (ss) { ss = ss.trim(); } if (!ss) { v2c.alert("選択テキストを取得できませんでした。"); return; } var pbaseuri = "b.hatena.ne.jp/"; moreusage='<img src="www.st-hatena.com/users/ju/juno_c/profile_s.gif" class="profile-image" alt="juno_c" title="juno_c" width="16" height="16" />'; normalusage='<img src="www.st-hatena.com/users/tk/tkine/profile_s.gif" class="profile-image" alt="tkine" title="tkine" width="16" height="16" />'; if (bh) { v2c.alert(moreusage); v2c.context.setPopupHTML("<html><head><base href=\""+pbaseuri+"\"></head><body><div>"+moreusage+"</div></body></html>"); } else { v2c.alert(normalusage); v2c.context.setPopupHTML("<html><head><base href=\""+pbaseuri+"\"></head><body><div>"+normalusage+"</div></body></html>"); } } createPopupString(true);
|

|