{"json_modified": "2016-03-28T08:14:58.317887", "uuid": "cb47146a-383e-4433-bdf1-e88627dfdb28", "title": "JS XPCOM", "url": "/en-US/docs/Mozilla/Add-ons/Code_snippets/JS_XPCOM", "tags": ["Code snippets", "about:", "XPCOM", "nsIAboutModule", "JavaScript"], "translations": [{"uuid": "58cee315-0779-4181-b35f-158b7ec3a271", "title": "JS XPCOM", "url": "/ja/docs/Code_snippets/JS_XPCOM", "tags": [], "summary": "", "localization_tags": [], "locale": "ja", "last_edit": "2009-08-08T01:46:14", "review_tags": []}, {"uuid": "bc60c1fb-fb1d-43a0-bd74-821c8d25d33f", "title": "JS XPCOM", "url": "/pl/docs/Fragmenty_kodu/JS_XPCOM", "tags": ["Strony_wymagaj\u0105ce_dopracowania"], "summary": "ID kontraktu przyznaje unikaln\u0105 nazw\u0119 dla obiektu XPCOM. ID u\u017cywane s\u0105 do tworzenia lub uzyskiwania dost\u0119pu do obiekt\u00f3w XPCOM.", "localization_tags": [], "locale": "pl", "last_edit": "2009-04-13T08:49:21", "review_tags": []}], "modified": "2015-03-02T16:18:48", "label": "JS XPCOM", "localization_tags": [], "locale": "en-US", "id": 17273, "last_edit": "2015-02-18T16:32:09", "summary": "Here are a few useful snippets of code for dealing with XPCOM components in JavaScript.", "sections": [{"id": "Contract_IDs", "title": "Contract IDs"}, {"id": "Interfaces", "title": "Interfaces"}, {"id": "Accessing_XPCOM_components_from_JavaScript", "title": "Accessing XPCOM components from JavaScript"}, {"id": "Creating_an_instance_of_a_component", "title": "Creating an instance of a component"}, {"id": "Getting_an_XPCOM_service", "title": "Getting an XPCOM service"}, {"id": "Getting_a_different_interface_for_a_component", "title": "Getting a different interface for a component"}, {"id": "Determining_which_interfaces_an_XPCOM_component_supports", "title": "Determining which interfaces an XPCOM component supports"}, {"id": "XPCOMUtils_-_About_protocol_handler", "title": "XPCOMUtils - About protocol handler"}], "slug": "Mozilla/Add-ons/Code_snippets/JS_XPCOM", "review_tags": []}