なんかのテストケースにXPathEvaluatorという単語を発見。 Using XPath - MDCにも載っていてFirefoxにしか実装されていませんが、特権なしで利用可能です。特徴はXPath式のコンパイルと評価が分離されているところ。 式のコンパイルと評価だと圧倒的に評価の方が時間がかかることが多いと思われるので、全体からするとたいして早くなりませんが、いちおう数字をとってみると <html> <body> <script type="text/javascript" charset="utf-8"> window.onload = function () { var x = new XPathEvaluator(); var exp = x.createExpression("//html/body/script", null); var i = 10000; console.
Last week John Resig, Mozilla’s JavaScript Evangelist, was in town to speak on Tamarin and ECMAScript 4 (i.e. JavaScript 2) at Adobe Max Japan, as well ‘The Future of JavaScript‘ an event organized by Mozilla Japan and supported by the JavaScript user community of Japan, Shibuya.JS. A few photos from John’s presentations are available on my Flickr account. The Adobe event had about 100 attendees a
Microformats allow web sites to provide semantic data to the browser in order to make it possible to present summaries of the information on a page without having to know how to parse the document itself. Firefox 3 implements a global Microformats object that provides access to microformats. This object and its API make finding and reading microformats easy to do. The Microformats object is create
CSS Tutorials CSS basics CSS first steps CSS first steps overview What is CSS? Getting started with CSS How CSS is structured How CSS works Assessment: Styling a biography page CSS building blocks CSS building blocks overview CSS selectors Type, class, and ID selectors Attribute selectors Pseudo-classes and pseudo-elements Combinators Cascade, specificity, and inheritance Cascade layers The box mo
CSS Tutorials CSS basics CSS first steps CSS first steps overview What is CSS? Getting started with CSS How CSS is structured How CSS works Assessment: Styling a biography page CSS building blocks CSS building blocks overview Cascade and inheritance CSS selectors The box model Backgrounds and borders Handling different text directions Overflowing content CSS values and units Sizing items in CSS Im
Firefoxのソースコードをいろいろ見ていたときにちょっとべんりそうな nsIXmlRpcClient という名前のインターフェイスがあるのを発見しました。どこで使われてるのかなー、と思ってさらに探したところFirefoxでは使われてなさそうですが、しばらく前にちょっと話題になったFirefoxベースの Flock - The Social Web Browser で使われているようです。 そしてこのFlockがいろんなWebサービスにアクセスするためのjavascriptのコード満載なのです(基本的にextensionからしか呼べませんが)。 Flockははじめにそのきれいなみためと、ブックマークがdel.icio.usと直結できたりする新しさにしびれたものの、そのあとしばらく忘れていたのですが ソーシャルブラウザ「Flock」が着々とバージョンアップ中 : ワークスタイル・メモ によ
Latest topics > 第6回拡張機能勉強会 宣伝。日経LinuxにてLinuxの基礎?を紹介する漫画「シス管系女子」を連載させていただいています。 以下の特設サイトにて、単行本まんがでわかるLinux シス管系女子の試し読みが可能! « ライフハックの最終回 Main ハッカーズ その侵入の手口 » 第6回拡張機能勉強会 - Sep 03, 2007 目が覚めたら14時でした。 勉強会本体の感想。 Firemacs作者の山本さんの話を聞いてると、以前の自分を思い出した。XPCOMにどんな機能があるのか知らなかった頃に、知ってる範囲の知識でどうにかして解決しようとあれこれ工夫を試みていた。そういう「工夫」を思い付くかどうか、というのが、もしかしたらある種の「分れ道」なのかもしれないなと思った。 marさんによるXUL preLoaderの話。 XULオーバーレイでボタンを追加したい
Document Object ModelElementInstance propertiesariaAtomicariaAutoCompleteariaBrailleLabel Experimental ariaBrailleRoleDescription Experimental ariaBusyariaCheckedariaColCountariaColIndexariaColIndexText Experimental ariaColSpanariaCurrentariaDescriptionariaDisabledariaExpandedariaHasPopupariaHiddenariaKeyShortcutsariaLabelariaLevelariaLiveariaModalariaMultiLineariaMultiSelectableariaOrientationari
id:amachangさんのマークアップエンジニアはどこへ向かうべきか(を考えてたらカッとなって LL の資料公開)にアップされていたLLの資料をいまさら見たんですが、正直やばい、かっこよすぎるとしか感想がなかった。 今までプレゼンツールで高橋メソッドinXULとかImpressとか(MSで発表だったのでしかたなく)PowerPointとか使ってきたけど、id:amachangさんのツールはその軽さ、表現力、そして公開のし易さ(推測)、どれをとってもすげーというかまじホレすぎた。まだHTMLにJavascriptぐちゃぐちゃ書いてるとありますが、なんかもう期待値+++++++;(何 ってか、仕事中半分ぐらいこのかっこよさをどう表現したらいいのか悩んだぐらいもうかっこいいとしか言えない! なんとなくできることはわかってはいるんだけど、本当にショックというか今までJavascriptをまじめに
In the bustle of announcements surrounding OSCON, Blackhat, and the Ajax Experience one single, incredibly important, announcement was made: The introduction of two new Mozilla projects: IronMonkey and ScreamingMonkey. The critical, core, component of this is the Tamarin virtual machine (which is an Open Sourced version of the ActionScript Virtual Machine that powered the Adobe Flash Player). Tama
else は上で示したように常に単独の行に書いてください。 return の後には else を使わないでください。 if (x < y) return -1; if (x > y) return 1; return 0; i++ も ++i も使用可能です。 インライン関数はそのデバッグが楽になるように名前を付けてください。関数をプロパティに代入しただけではその関数に名前を付けることはできません。次のようにしてください。 var offlineObserver = { observe: function OO_observe(aSubject, aTopic, aState) { if (aTopic == "network:offline-status-changed") setOfflineUI(aState == "offline"); } }; 名前や列挙値には interCap
The Document Object Model (DOM) connects web pages to scripts or programming languages by representing the structure of a document—such as the HTML representing a web page—in memory. Usually it refers to JavaScript, even though modeling HTML, SVG, or XML documents as objects are not part of the core JavaScript language. The DOM represents a document with a logical tree. Each branch of the tree end
none | button | radio | checkbox | radio_small | checkbox_small | button_small | button_bevel | toolbox | toolbar | toolbarbutton | toolbargripper | dualbutton | dualbutton_dropdown | separator | statusbar | statusbarpanel | resizerpanel | resizer | listbox | listitem | treeview | treeitem | treetwisty | treetwistyopen | treeline | treeheader | treeheadercell | treeheadersortarrow | progressbar |
Project Status See the latest status meeting notes. Work List A detailed list of items that we are working on can be found here: Mozilla 2 Work List Ends Current thinking on goals, initially pitched in Brendan's Mozilla 2 blog item, consists of these major bullet items: Clean up our APIs to be fewer, better, and "on the outside" of Gecko, with symbol visibility strictly limited to public APIs. Bas
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く