タグ

ブックマーク / developer.mozilla.org (19)

  • Proxy - JavaScript | MDN

    The Proxy object enables you to create a proxy for another object, which can intercept and redefine fundamental operations for that object. The Proxy object allows you to create an object that can be used in place of the original object, but which may redefine fundamental Object operations like getting, setting, and defining properties. Proxy objects are commonly used to log property accesses, val

    Proxy - JavaScript | MDN
    os0x
    os0x 2011/02/26
  • Using IndexedDB - Web APIs | MDN

    IndexedDB is a way for you to persistently store data inside a user's browser. Because it lets you create web applications with rich query abilities regardless of network availability, your applications can work both online and offline. About this document This tutorial walks you through using the asynchronous API of IndexedDB. If you are not familiar with IndexedDB, you should first read Basic Co

    Using IndexedDB - Web APIs | MDN
  • Firefox 4 for developers - MDC

    Gecko は現在 HTML5 パーサーを利用しています。それはバグが修正され、相互運用性が改善され、また、パフォーマンスが向上されたものです。また、HTML マークアップでコンテンツに SVG と MathML を直接埋め込むことも可能にします。 HTML5 パーサー入門 HTML5 パーサーが意味することと、どのように SVG と MathML をコンテンツにインラインで埋め込むかの概説。 HTML5 におけるフォーム HTML5 におけるウェブフォームの改善の概説。これらの変更点には <input> 要素における入力種類の追加、データバリデーションなどが含まれています。 HTML5 Sections Gecko は文書におけるセクションに関する新しい HTML5 要素をサポートします。: <article>、<section>、<nav>、<aside>、 <hgroup>、<hea

    Firefox 4 for developers - MDC
    os0x
    os0x 2010/05/30
  • Firefox 3.6 for developers - Mozilla | MDN

    Firefox 3.6 では新規あるいは開発中のウェブ標準のサポート、性能の向上、ウェブユーザーと開発者にとってより良い体験が提供されます。このページは Firefox 3.6 で新しく利用出来るようになった機能に関する記事のリンクを提供します。 グラデーションの利用 Firefox 3.6 では background において、Mozilla が提案中の -moz-linear-gradient と -moz-radial-gradient プロパティのサポートが追加されました。 複数の背景 background プロパティ(および background-color、background-image、background-position、background-repeat、background-attachment)が複数の背景をサポートしました。これによりひとつのレイヤーの中で他に重

    Firefox 3.6 for developers - Mozilla | MDN
    os0x
    os0x 2010/01/22
  • ctypes.jsm - Mozilla | MDN

    この例は Mac OS X で Carbon 関数を呼び出すために ctypes を利用する方法を説明します。 /* build a Str255 ("Pascal style") string from the passed-in string */ function makeStr(str) { return String.fromCharCode(str.length) + str; } Components.utils.import("resource://gre/modules/ctypes.jsm"); var carbon = ctypes.open("/System/Library/Frameworks/Carbon.framework/Carbon"); stdAlert = carbon.declare("StandardAlert", /* function name

    ctypes.jsm - Mozilla | MDN
    os0x
    os0x 2009/11/09
  • アドオン - Mozilla | MDN

    開発者はアドオン (add-on) を作成して Firefox の機能を拡張したり変更したりすることができます。 アドオンは JavaScriptHTMLCSS といったウェブ標準技術と、幾つかの専用の JavaScript API を使って作成します。 中でも、以下のようなことがアドオンで実現できます。 特定のウェブサイトの見た目や内容を変更する Firefox のユーザーインターフェイスを変更する Firefox に新しい機能を追加する アドオンには幾つかの種類がありますが、もっとも一般的なものは拡張機能 (extension) です。 以前は Firefox の拡張機能を開発するためのツールセットが幾つかありましたが、 2017 年 11 月からは WebExtensions API を使って拡張機能を構築するようにしなければいけません。 それ以外のツールセット (例えば ove

    アドオン - Mozilla | MDN
    os0x
    os0x 2009/07/21
  • Cross-Origin Resource Sharing (CORS) - HTTP | MDN

    Cross-Origin Resource Sharing (CORS) is a mechanism that uses additional HTTP headers to tell browsers to give a web application running at one origin, access to selected resources from a different origin. A web application executes a cross-origin HTTP request when it requests a resource that has a different origin (domain, protocol, or port) from its own. An example of a cross-origin request: the

    Cross-Origin Resource Sharing (CORS) - HTTP | MDN
  • Firefox 3.5 for developers - MDC

    Firefox 3.5 では数多くの新機能が導入され、また、幅広い種類のWeb 標準に対するサポートが追加および改善されます。この記事は主な変更点をカバーする記事へのリンクを伴う広範囲に及ぶ一覧を提供します。 HTML5 サポート Using audio and video in Firefox Firefox 3.5 では HTML5 の audio および video 要素がサポートされます。 Offline resources in Firefox Firefox 3.5 では HTML5 のオフラインリソース仕様をすべてサポートしています。 ドラッグ&ドロップ HTML5 のドラッグ&ドロップ API によって Web サイト内および Web サイト間のアイテムのドラッグ&ドロップがサポートされます。これにより、拡張や Mozilla ベースアプリケーションに対してもより単純な A

    Firefox 3.5 for developers - MDC
    os0x
    os0x 2009/03/13
  • Web Tech Blog » Blog Archive » Firefox 3.1 Beta 2 - what’s new?

    Just as we did for Firefox 3.1 Beta 1, we thought it would be good to give an overview of what’s changed in Beta 2 for web developers and add-on authors, as well as cover some stuff we didn’t include in the Beta 1 overview. Stable for Add-ons Updates First and foremost, Firefox 3.1 Beta 2 should be stable enough for add-ons developers to start updating their add-ons for 3.1 compatibility.  There w

    os0x
    os0x 2008/12/09
  • Firefox 3.5 for developers - Mozilla | MDN

    Firefox 3.5 では数多くの新機能が導入され、また、幅広い種類のWeb 標準に対するサポートが追加および改善されます。この記事は主な変更点をカバーする記事へのリンクを伴う広範囲に及ぶ一覧を提供します。 HTML5 サポート Using audio and video in Firefox Firefox 3.5 では HTML5 の audio および video 要素がサポートされます。 Offline resources in Firefox Firefox 3.5 では HTML5 のオフラインリソース仕様をすべてサポートしています。 ドラッグ&ドロップ HTML5 のドラッグ&ドロップ API によって Web サイト内および Web サイト間のアイテムのドラッグ&ドロップがサポートされます。これにより、拡張や Mozilla ベースアプリケーションに対してもより単純な A

    Firefox 3.5 for developers - Mozilla | MDN
    os0x
    os0x 2008/11/11
  • Firefox 3.5 for developers - Mozilla | MDN

    Firefox 3.5 では数多くの新機能が導入され、また、幅広い種類のWeb 標準に対するサポートが追加および改善されます。この記事は主な変更点をカバーする記事へのリンクを伴う広範囲に及ぶ一覧を提供します。 HTML5 サポート Using audio and video in Firefox Firefox 3.5 では HTML5 の audio および video 要素がサポートされます。 Offline resources in Firefox Firefox 3.5 では HTML5 のオフラインリソース仕様をすべてサポートしています。 ドラッグ&ドロップ HTML5 のドラッグ&ドロップ API によって Web サイト内および Web サイト間のアイテムのドラッグ&ドロップがサポートされます。これにより、拡張や Mozilla ベースアプリケーションに対してもより単純な A

    Firefox 3.5 for developers - Mozilla | MDN
    os0x
    os0x 2008/10/15
  • Code snippets | MDN

    ここにあるのは、さまざまな Mozilla アプリケーションの拡張開発者にとって有益なコードの切れ端 (小さなコードの例) のリストです。これらのうちのかなりのものが XULRunner アプリケーションや Mozilla のコード自体でも利用されています。 これらの例は一見しただけではわからない基的な課題を解決する方法を示します。 一般 ウィンドウ用コード ウィンドウを開くことと操作 ツールバー ツールバー関係のコード XML XML をパース、書き出し、操作するためのコード File I/O ファイルを読み書き、処理するためのコード Dialogs ダイアログボックスを表示、処理するためのコード オプション オプションを読み書き、変更するためのコード JS XPCOM JavaScript でカスタム XPCOM コンポーネントを定義し、呼び出すためのコード アプリケーションの実行

    Code snippets | MDN
    os0x
    os0x 2008/09/22
  • XMLDocument - Web APIs | MDN

    The XMLDocument interface represents an XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents. EventTarget Node Document XMLDocument

    XMLDocument - Web APIs | MDN
  • Firefox 3.5 for developers - Mozilla | MDN

    Firefox 3.5 (released June 30, 2009) introduces a number of new features, as well as additional and improved support for a wide variety of web standards. This article offers an extensive list, with links to articles covering the major improvements. HTML 5 support Using audio and video Firefox 3.5 adds support for the HTML 5 audio and video elements. Offline resources in Firefox Firefox 3.5 now ful

    Firefox 3.5 for developers - Mozilla | MDN
    os0x
    os0x 2008/06/17
  • MDC

    Message will close by itself in seconds Message timer has been stopped

    os0x
    os0x 2008/04/10
  • Navigator - Web API | MDN

    Document Object ModelNavigatorインスタンスプロパティactiveVRDisplaysappCodeNameappNameappVersionbluetooth Experimental buildIDclipboardconnectioncontactscookieEnabledcredentialsdeviceMemorydoNotTrackgeolocationglobalPrivacyControlgpuhardwareConcurrencyhidinkkeyboardlanguagelanguageslockslogin Experimental maxTouchPointsmediaCapabilitiesmediaDevicesmediaSessionmimeTypes 非推奨 onLineoscpupdfViewerEnabledpermissi

    Navigator - Web API | MDN
    os0x
    os0x 2008/04/06
    onloadが発生するかどうか調べられるかな?
  • JavaScript style guide - Mozilla | MDN

    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

    JavaScript style guide - Mozilla | MDN
  • Gecko 固有の DOM Event | MDN

    DOMContentLoaded 文書の DOM コンテンツが読み終わったとき window オブジェクト上で発生します。しかし、"load" とは異なり画像が読み込まれるのを待ちません。例えば、GraeseMonkey でページが表示される前に変更をこっそり行うために使われます。 このイベントは、このページの他の多くのイベントのように、"信頼された" 対象のみに通達されます。例えば、Firefox におけるメインブラウザオブジェクトのコンテンツには、たとえ、chrome:/ URI からのものであっても、通達されません。 DOMFrameContentLoaded 上記と同じですが、フレーム内のコンテンツが読み込まれた時に発生します。 DOMWindowClose window.close() によって、ウィンドウを閉じようとしている時に発生します。詳しくは バグ 103452 をご覧く

    Gecko 固有の DOM Event | MDN
    os0x
    os0x 2008/03/02
    DOMFrameContentLoadedってのもあるのか
  • Updating extensions for Firefox 3 - Mozilla | MDN

    This article provides information that will be useful to developers that wish to update their extensions to work properly under Firefox 3. Before going further, there's one helpful hint we can offer: if the only change your extension requires is a bump to the maxVersion field in its install manifest, and you host your extension at addons.mozilla.org, you don't actually need to upload a new version

    Updating extensions for Firefox 3 - Mozilla | MDN
    os0x
    os0x 2008/01/23
  • 1