{"json_modified": "2016-03-28T07:46:35.194120", "uuid": "d1d5dbf6-0854-470a-bda0-95c03c4e9554", "title": "Code snippets", "url": "/en-US/docs/Mozilla/Add-ons/Firefox_for_Android/Code_snippets", "tags": [], "translations": [], "modified": "2016-01-15T10:49:22", "label": "Code snippets", "localization_tags": [], "locale": "en-US", "id": 1223, "last_edit": "2016-01-15T10:49:20", "summary": "This article includes code snippets to help you write an add-on for Firefox for Android. For additional code samples, check out the Firefox for Android Add-ons Github repo.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Obtain_NativeWindow_and_BrowserApp_object_with_add-on_SDK", "title": "Obtain NativeWindow and BrowserApp object with add-on SDK"}, {"id": "Tabs_and_Browsers", "title": "Tabs and Browsers"}, {"id": "Waiting_for_UIReady", "title": "Waiting for UIReady"}, {"id": "Selected_Tab_and_Browser", "title": "Selected Tab and Browser"}, {"id": "Looking_up_Tabs_and_Browsers", "title": "Looking up Tabs and Browsers"}, {"id": "Tab_Management", "title": "Tab Management"}, {"id": "Detecting_Page_Loads", "title": "Detecting Page Loads"}, {"id": "Detecting_Private_Browsing_Mode", "title": "Detecting Private Browsing Mode"}, {"id": "Supporting_both_desktop_and_mobile", "title": "Supporting both desktop and mobile"}, {"id": "Detecting_XUL_support", "title": "Detecting XUL support"}], "slug": "Mozilla/Add-ons/Firefox_for_Android/Code_snippets", "review_tags": []}