{"id":200,"date":"2008-12-10T02:12:45","date_gmt":"2008-12-10T09:12:45","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=200"},"modified":"2009-05-06T14:35:32","modified_gmt":"2009-05-06T21:35:32","slug":"how-to-update-your-extension-to-firefox-31beta2","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/","title":{"rendered":"How to update your extension to Firefox 3.1beta2"},"content":{"rendered":"<p><a href=\"https:\/\/developer.mozilla.org\/web-tech\/2008\/12\/08\/firefox-31-beta-2-whats-new\/\">Firefox 3.1 Beta2 is here<\/a> ! As we said <a href=\"http:\/\/blog.mozilla.org\/addons\/2008\/11\/27\/firefox-31-beta-2-time-to-start-updating-add-ons\/\">before<\/a>, it&#8217;s time to update your add-ons. Many add-ons should work out of the box with beta2. Others might need a little tweak.<\/p>\n<p>If you have tested and you are sure that your extension works with Firefox 3.1 beta 2 and doesn&#8217;t need any code update, just update the compatibilty version (3.1b2) on the AMO dashboard. This is enough.<\/p>\n<p>If you know that you must update some code, do so and update the <tt>install.rdf<\/tt> file (increase the <tt>version<\/tt> of your extension and update <tt>maxVersion<\/tt> to 3.1b2), then upload your xpi file.<\/p>\n<p>If you feel unsure about how to update your add-on, here are step by step instructions on how to update it. The following may sound very easy. That&#8217;s probably because it <strong>is<\/strong> easy.<\/p>\n<h5>1. First, download Firefox 3.1 beta 2 here:<\/h5>\n<p><a href=\"http:\/\/www.mozilla.com\/en-US\/firefox\/all-beta.html\">http:\/\/www.mozilla.com\/en-US\/firefox\/all-beta.html<\/a><\/p>\n<h5>2. Next, test your add-on:<\/h5>\n<p>Edit your <tt>install.rdf<\/tt>: if needed, update <tt>maxVersion<\/tt> to <tt>3.1b2<\/tt>, and increase the <tt>version<\/tt> of your add-on.<\/p>\n<p>Create a new Firefox profile:<br \/>\n<tt>firefox --createProfile testBeta2<\/tt><br \/>\nLaunch firefox with the new profile:<br \/>\n<tt>firefox -P testBeta2<\/tt><\/p>\n<p>Install your add-on.<\/p>\n<p>Test your add-on thoroughly. Ensure that there&#8217;s no weird behavior or javascript errors.<br \/>\nWe encourage you to set these preferences:<br \/>\n<tt>user_pref(\"javascript.options.strict\", true);<\/tt><br \/>\n<tt>user_pref(\"javascript.options.showInConsole\", true);<\/tt><br \/>\nin order to be notified about any javascript exception or warning.<\/p>\n<p>If you run into issues, please check these common issues that may cause your add-on to break:<br \/>\n<a href=\"https:\/\/developer.mozilla.org\/En\/Updating_extensions_for_Firefox_3.1\">https:\/\/developer.mozilla.org\/En\/Updating_extensions_for_Firefox_3.1<\/a><br \/>\nEven if you think you won&#8217;t run into any problems, we still strongly recommend you read this page. You never know.<\/p>\n<p>Then, make sure that your add-on works on your current profile (with all data already set by the last version).<\/p>\n<h5>3. Update your add-on on AMO:<\/h5>\n<p>If your add-on does not need any code update, just update the compatibilty version on the AMO dashboard.<br \/>\nif your add-on does need code update, then upload the new version to AMO.<\/p>\n<h5>That&#8217;s all!<\/h5>\n<p>Update your add-ons. It should be easy. If you run into issues during the migration or if you need some support, see <a href=\"http:\/\/blog.mozilla.org\/addons\/2008\/11\/27\/firefox-31-beta-2-time-to-start-updating-add-ons\/\">our last post<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firefox 3.1 Beta2 is here ! As we said before, it&#8217;s time to update your add-ons. Many add-ons should work out of the box with beta2. Others might need a &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/\">Read more<\/a><\/p>\n","protected":false},"author":129,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[388,44],"tags":[278877,278858],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to update your extension to Firefox 3.1beta2 - 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\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul Rouget\" \/>\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\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/\",\"name\":\"How to update your extension to Firefox 3.1beta2 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2008-12-10T09:12:45+00:00\",\"dateModified\":\"2009-05-06T21:35:32+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/276db88e1deb90663d874dc28cad60b8\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to update your extension to Firefox 3.1beta2\"}]},{\"@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\/276db88e1deb90663d874dc28cad60b8\",\"name\":\"Paul Rouget\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3a5f8390ace5c5e5f9583bcf4bab337f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3a5f8390ace5c5e5f9583bcf4bab337f?s=96&d=mm&r=g\",\"caption\":\"Paul Rouget\"},\"sameAs\":[\"http:\/\/blog.mozbox.org\"],\"url\":\"https:\/\/blog.mozilla.org\/addons\/author\/prougetmozillacom\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to update your extension to Firefox 3.1beta2 - 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\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/","twitter_misc":{"Written by":"Paul Rouget","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/","url":"https:\/\/blog.mozilla.org\/addons\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/","name":"How to update your extension to Firefox 3.1beta2 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2008-12-10T09:12:45+00:00","dateModified":"2009-05-06T21:35:32+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/276db88e1deb90663d874dc28cad60b8"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2008\/12\/10\/how-to-update-your-extension-to-firefox-31beta2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"How to update your extension to Firefox 3.1beta2"}]},{"@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\/276db88e1deb90663d874dc28cad60b8","name":"Paul Rouget","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3a5f8390ace5c5e5f9583bcf4bab337f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3a5f8390ace5c5e5f9583bcf4bab337f?s=96&d=mm&r=g","caption":"Paul Rouget"},"sameAs":["http:\/\/blog.mozbox.org"],"url":"https:\/\/blog.mozilla.org\/addons\/author\/prougetmozillacom\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/200"}],"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\/129"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}