{"id":6615,"date":"2013-06-25T17:28:10","date_gmt":"2013-06-26T00:28:10","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=6615"},"modified":"2013-06-25T17:28:10","modified_gmt":"2013-06-26T00:28:10","slug":"add-on-sdk-update-for-firefox-22-and-23-and-24","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/","title":{"rendered":"Add-on SDK update for Firefox 22 (and 23, and 24)"},"content":{"rendered":"<p>Firefox 22 shipped today, Firefox 23 entered Beta, and Firefox 24 entered Aurora.<\/p>\n<p>This is the first time the SDK modules in a release of Firefox have diverged from the modules shipping in the last independent release of the SDK, which was 1.14. So we&#8217;ve updated the docs for this release, and also added docs for Firefoxes 23 and 24:<\/p>\n<p><a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-22\/\">https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-22\/<\/a><br \/>\n<a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-23\/\">https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-23\/<\/a><br \/>\n<a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-24\/\">https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-24\/<\/a><\/p>\n<p>Once we landed the SDK in Firefox we started work on some larger projects to deliver features we&#8217;ve wanted for some time. So Firefox 22 didn&#8217;t include many user-visible changes to the SDK.<\/p>\n<p>However, there&#8217;s some more interesting stuff coming in Firefox 23 and 24.<\/p>\n<h2><a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-23\/\">Firefox 23<\/a><\/h2>\n<ul>\n<li><a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-23\/modules\/sdk\/panel.html#Panel%28options%29\">panel positioning<\/a>: now you can supply a <code>position<\/code> object to the <code>Panel<\/code> constructor or its <code>show()<\/code> method, to control where the panel is displayed in the browser window.<\/li>\n<li><a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-23\/modules\/sdk\/tabs.html#load\"><code>load<\/code><\/a> and <a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-23\/modules\/sdk\/tabs.html#pageshow\"><code>pageshow<\/code><\/a> tab events. The <code>load<\/code> event means you can get page load notifications for pages, like images, that don&#8217;t contain DOM content. The <code>pageshow<\/code> event means you can get notified when a page is retrieved from the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Working_with_BFCache\">BFCache<\/a>: for example, when the user uses the &#8220;Back&#8221; button to navigate back to a page.<\/li>\n<li><a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-23\/dev-guide\/guides\/xul-migration.html#User%20Interface%20Components\">XUL window support<\/a>: you can include a chrome.manifest file and use it to specify XUL windows for your add-on. This makes it easier to port a XUL add-on to the SDK, because you don&#8217;t immediately have to rewrite XUL windows in HTML.<\/li>\n<\/ul>\n<h2><a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-24\/\">Firefox 24<\/a><\/h2>\n<ul>\n<li><a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-24\/modules\/sdk\/request.html#head%28%29\">support for HEAD requests<\/a>: thanks to <a href=\"https:\/\/github.com\/bkase\">@bkase<\/a> for fixing this very old bug.<\/li>\n<li><a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-24\/modules\/sdk\/addon-page.html\">deprecate <code>addon-page<\/code><\/a>: the <code>addon-page<\/code> module isn&#8217;t compatible with the new &#8220;Australis&#8221; UI coming in Firefox, so we&#8217;ve deprecated it in Firefox 24. It will still work until Australis ships, then using the module will have no effect (addon-page tabs will look like normal content tabs).<\/li>\n<li><a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/docs\/sdk\/Firefox-24\/dev-guide\/guides\/content-scripts\/cross-domain.html\">cross-domain content scripts<\/a>: a new field in &#8220;package.json&#8221; enables content scripts to access content in iframes served from a different domain, and to make cross-domain XMLHttpRequests.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Firefox 22 shipped today, Firefox 23 entered Beta, and Firefox 24 entered Aurora. This is the first time the SDK modules in a release of Firefox have diverged from the &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/\">Read more<\/a><\/p>\n","protected":false},"author":303,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,295,588,227,742],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Add-on SDK update for Firefox 22 (and 23, and 24) - Mozilla Add-ons Community Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Will Bamberg\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/\",\"name\":\"Add-on SDK update for Firefox 22 (and 23, and 24) - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2013-06-26T00:28:10+00:00\",\"dateModified\":\"2013-06-26T00:28:10+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/bb34f381b59245c1d814a91bb4d3c73f\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add-on SDK update for Firefox 22 (and 23, and 24)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/\",\"name\":\"Mozilla Add-ons Community Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/addons\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/bb34f381b59245c1d814a91bb4d3c73f\",\"name\":\"Will Bamberg\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/576b94c81f8ad97e58d63f12e5fdb00c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/576b94c81f8ad97e58d63f12e5fdb00c?s=96&d=mm&r=g\",\"caption\":\"Will Bamberg\"},\"description\":\"Will is a technical writer working on MDN.\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/author\/wbambergmozilla-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add-on SDK update for Firefox 22 (and 23, and 24) - Mozilla Add-ons Community Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/","twitter_misc":{"Written by":"Will Bamberg","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/","url":"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/","name":"Add-on SDK update for Firefox 22 (and 23, and 24) - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2013-06-26T00:28:10+00:00","dateModified":"2013-06-26T00:28:10+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/bb34f381b59245c1d814a91bb4d3c73f"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2013\/06\/25\/add-on-sdk-update-for-firefox-22-and-23-and-24\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"Add-on SDK update for Firefox 22 (and 23, and 24)"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/addons\/#website","url":"https:\/\/blog.mozilla.org\/addons\/","name":"Mozilla Add-ons Community Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/addons\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/bb34f381b59245c1d814a91bb4d3c73f","name":"Will Bamberg","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/576b94c81f8ad97e58d63f12e5fdb00c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/576b94c81f8ad97e58d63f12e5fdb00c?s=96&d=mm&r=g","caption":"Will Bamberg"},"description":"Will is a technical writer working on MDN.","url":"https:\/\/blog.mozilla.org\/addons\/author\/wbambergmozilla-com\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/6615"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/users\/303"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/comments?post=6615"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/6615\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=6615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=6615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=6615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}