Mozilla Foundationは8月23日、次期ブラウザFirefox 3.1(コードネーム「SHIRETOKO」)に採用する新しいJavaScriptエンジン「TraceMonkey」を発表した。Mozilla Corporationのブレンダン・アイクCTO(最高技術責任者)が公式ブログで明らかにした。 TraceMonkeyはJITコンパイラ搭載で、JavaScriptの処理速度を大幅に向上。現行のJavaScriptエンジンSpiderMonkeyを搭載したFirefox 3.0と、TraceMonkey搭載の同3.1とを各種ベンチマークテストで比較したところ、SunSpiderによるテストでは総合で約1.83倍、ubenchテストで22.5倍、画像処理で6.46倍、行列処理で6.26倍の処理速度向上が認められたという。 TraceMonkeyの現在の対応アーキテクチャはx8
先日、はてなブックマークエントリページのアイコンを大きくスクリプトを作りましたが。 導入した結果表示されたボタンが非常に不細工なことになっていて凄く嫌でした。 要は、僕がJavaScriptをあんまりよく分かって無くて、 ボタンをクリックしたときにJavaScriptを動かすには、どうしたらいいのか… ということだったんですが。 その辺理解できたので、メモっておきます。 例えば、「addEventListener」を使います。 イベントハンドラに処理を割り当てる…くらいの意味でしょうかね。 (モダンブラウザのみ対応、IE6では動きません) addEventListener Sleipnir/SeaHorseでは動きません(IE6の影響)が、 attachEventを使えば同じような処理が出来ます。 例 var btn = document.getElementByI
とあるサイトで ecl.js を使っています。ecl.js とは JavaScript で文字コード変換を行うライブラリで Escape Codec Library が正式名称です。配布元は Escape Codec Library: ecl.js です。ちなみに yaplog に組み込まれている /blog/js/urlEnDecoding.js も元ネタは ecl.js みたいですね。もちろん Sleipnir で yaplog 見ると激遅です・・・ Shift_JISエンコードやEUC-JPエンコードなども可能な escape エンコード・デコード関数のライブラリ 文字列をすべてのコンピュータで読めるような形式に変換したり、変換されたものを元の文字列にデコードすることができる関数のライブラリです。 ビルトイン関数 escape() , unescape() とは異なり、どの種類のブラ
昨日書いた、はてなブックマークのアイコンを拡大縮小するボタンを付けるBookmarkletを、 ページが表示された段階で適用できるように、 SeaHorse Script/Greasemonkey向けに書き直してみました。 enlarge_hbm_icons.user.js 元ネタはid:rikuoさんのこちらより。 2008-03-24 - 聴く耳を持たない(片方しか) 導入手順 1. Sleipnirの場合。 SeaHorseプラグインをインストールする。 enlarge_hbm_icons.user.jsをダウンロードし、\plugins\seahorse\に保存。 ツール»Sleipnir オプション»拡張機能»SeaHorseに表示されていればOKです。 2. FireFoxの場合。 Greasemonkeyをインストールする。 上記リンクをクリック。 インストールを
みなさん、ドラクエ 4 、やってますか? 謎の人です。こんにちわ。好きな AI は「ガンガンいこうぜ」ですよ。 前回、UserAction を記述するひとつの選択肢として Perl を提案させて頂きましたが、それ以降 「やっぱり画面周りは JavaScript で書きたいよね」 「せっかく作ったんだから、たまには公開したいかも」 という内なる声に悩まされ、眠れない毎日です。 目に触れる部分は JavaScript で記述して、JavaScript では難しいことを Perl でやって、気軽に公開/配布できればモア・ハッピー? というわけで、本日はちょっと強引な合わせ技を。 以下、簡単な手順。 ActivePerl をインストール PAR をインストール ppm install PAR PAR 付属のコマンド「pp」を使って Perl スクリプトを exe 化する pp --gui -o h
自宅PCのSleipnirから、Voxにアクセスすると、JavaScriptでエラーが出てしまいます。 nobodyplace with Vox - isさんのVoxブログ 職場PCのSleipnirからアクセスした場合には、普通に処理できるので、 Sleipnir(ないしはIE)の問題ではないとは思うのですが、 Voxのサイトは、JavaScriptオフでは閲覧以外、殆ど何も出来ないので、大変不便です。 【チームVoxサポート担当よりお知らせ】 最後にサポート担当よりお知らせします。 先週10月5日頃より、InternetExplore6およびInternetExplore7をお使いの一部のメンバーに以下現象が発生しているとのフィードバックが寄せられおり、現在調査中となっております。 記事の投稿ができないコメントの投稿ができない 現在当該現象が発生しているメンバーよりのフィ
YouTubeを始め、Dailymotion、Veoh、Stage6、ニコニコ動画… 動画共有サイトは増える一方です。 そんな中、以前利用していた動画ダウンロードサービス(Video Downloader)が、 どうも不安定&ニコニコ動画に非対応なので、 何か代わりはないかなーと思っていたのですが。 見つけました。 Vid-DLはウェブベースの動画ダウンロード保存支援ツールです。 使い方は簡単!ダウンロードしたい動画ページのURLを上のフォームに入力すると、動画ファイルのリンク先を示すボタンが表示されます。[Download FLV]のボタンを右クリックから[対象をファイルに保存]を選択して動画ファイル(FLV形式)をダウンロード保存してください。 ここに表示されるFLV動画のリンク先は、動画プレイヤーから動画を再生した時に読み込まれる動画のリンク先と同じものです。もちろんダ
先日から何度か書いていましたが、 すみません、Flashさんは冤罪でした。 伏してお詫びいたします。 で。 Sleipnir+JavaScriptの処理が異常に重い場合がある、と。 Flashとの切り離しは、 はてなスター実装後のはてなブックマークが異常に重くなったために、 ああ、Flash関係ないんだと、確証を得たということであります。 これを如何に解決したかというと、 Sleipnirを一度完全にアンインストールし、 (アンインストール後、全てのファイルを削除/設定ファイルは退避) 改めて最新版(執筆時点で2.5.17)をインストールしたところ、 何も問題なく動き始めた、と。 それまで、アクセスすると必ずCPU100%になってたのが、 ウソみたいに快適に動いています。 なんじゃこりゃ。 以下は、完全に想像ですが、 可能性としては、 どこかのバージョン
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く