{"id":8734,"date":"2019-10-10T08:00:19","date_gmt":"2019-10-10T15:00:19","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=8734"},"modified":"2019-12-04T13:20:58","modified_gmt":"2019-12-04T21:20:58","slug":"extensions-in-firefox-70","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/","title":{"rendered":"Extensions in Firefox 70"},"content":{"rendered":"<p>Welcome to another round of new additions and changes to extensions, this time in Firefox 70. We have a new API, some improvements on existing APIs, and some great additions to Firefox Developer Tools to make it easier to debug your extensions.<\/p>\n<h2>Network Status<\/h2>\n<p><del>Firefox 70 features a new network status API.<\/del> <em>[Edit: It turns out this is not a public API as we determine the best way forward. If we can do this via web standards instead, that would likely be more useful!]<\/em><\/p>\n<h2>Downloads API Improvements<\/h2>\n<p>We\u2019ve made a few improvements to the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Add-ons\/WebExtensions\/API\/downloads\">downloads API<\/a> in Firefox 70. By popular request, the <code>Referer<\/code> header is now allowed in the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Add-ons\/WebExtensions\/API\/downloads\/download\">browser.downloads.download<\/a> API\u2019s <code>headers<\/code> object. This allows extensions, such as download managers, to download files for sites that require a referrer to be set.<\/p>\n<p><del datetime=\"2019-10-11T11:10:40+00:00\">Also, we\u2019ve improved error reporting for failed downloads. In addition to previously reported failures, the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Add-ons\/WebExtensions\/API\/downloads\/download\">browser.downloads.download<\/a> API will now report an error in case of various http 4xx failures. This makes the API more compatible with Chrome and gives developers a way to react to these errors in their code.<\/del> <em>[Edit: Sorry if I got your hopes up! This is actually coming in Firefox 71!]<\/em><\/p>\n<h2>Privacy API Improvements<\/h2>\n<p>If you are using the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Add-ons\/WebExtensions\/API\/privacy\/network\">browser.privacy.network<\/a> API and are modifying <code>webRTCIPHandlingPolicy<\/code>, we\u2019ve made some compatibility changes to the <code>disable_non_proxied_udp<\/code> setting. This setting now better matches Chrome\u2019s behavior. If your add-on relied on the Firefox-specific behavior, you can make use of the new setting <code>proxy_only<\/code>.<\/p>\n<h2>Extension Storage Inspector<\/h2>\n<p>Starting in Firefox 70, Firefox finally supports inspecting data from the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Add-ons\/WebExtensions\/API\/storage\">browser.storage<\/a> API using the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Tools\/Storage_Inspector\">Devtools Storage Inspector<\/a>. When you inspect an add-on via <code>about:debugging<\/code>, you will find a new <em>Extension Storage<\/em> section in the storage panel. While changing the values is not currently supported, this will make debugging your add-ons even easier.<\/p>\n<div style=\"width: 2009px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/blog.nightly.mozilla.org\/files\/2019\/08\/webextensions-inspect-storage.png\" alt=\"Firefox developer tools showing extension storage data in a multi-column list.\" width=\"1999\" height=\"538\" \/><p class=\"wp-caption-text\">Extension Storage Inspector<\/p><\/div>\n<h2>Unsupported Theme Properties<\/h2>\n<p>The <code>accentcolor<\/code>, <code>headerURL<\/code> and <code>text_color<\/code> properties are now unsupported. Please make use of the replacement properties <code>frame<\/code>, <code>theme_frame<\/code>, and <code>tab_background_text<\/code>. You can find more information on our <a href=\"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/\">previous deprecation announcement<\/a>.<\/p>\n<h2>Miscellaneous<\/h2>\n<ul>\n<li>When managing extension shortcuts, you will now be notified if a shortcut is already in use.<\/li>\n<li>The <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Add-ons\/WebExtensions\/API\/notifications\/onClicked\">browser.notifications.onClicked<\/a> and <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Add-ons\/WebExtensions\/API\/notifications\/onClicked\">browser.notifications.onShown<\/a> event callbacks are no longer called with a superfluous second parameter.<\/li>\n<li>Logging has been improved when the native messaging host manifest is missing.<\/li>\n<li>Various performance improvements, making startup quicker for Firefox users with add-ons.<\/li>\n<\/ul>\n<p>Special thanks this time goes to our volunteers <a href=\"https:\/\/mozillians.org\/u\/trishul\">Trishul Goel<\/a>, <a href=\"https:\/\/mozillians.org\/u\/myeongjun\/\">Myeongjun Go<\/a>, <a href=\"https:\/\/mozillians.org\/en-US\/u\/graham.mcknight2\/\">Graham McKnight<\/a> and <a href=\"https:\/\/mozillians.org\/u\/evilpie\/\">Tom Schuster<\/a>. We&#8217;ve also received an awesome contribution from <a href=\"https:\/\/mozillians.org\/u\/mandycheang\/\">Mandy Cheang<\/a> as part of her internship at Mozilla. Keep up the great work everyone!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to another round of new additions and changes to extensions, this time in Firefox 70. We have a new API, some improvements on existing APIs, and some great additions &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/\">Read more<\/a><\/p>\n","protected":false},"author":333,"featured_media":8750,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,227,278886],"tags":[278873,304466,278875,278871],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Extensions in Firefox 70 - 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\/2019\/10\/10\/extensions-in-firefox-70\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Philipp Kewisch\" \/>\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\/2019\/10\/10\/extensions-in-firefox-70\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/\",\"name\":\"Extensions in Firefox 70 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.mozilla.org\/addons\/files\/2019\/10\/Fx-Browser-icon-fullColor.png\",\"datePublished\":\"2019-10-10T15:00:19+00:00\",\"dateModified\":\"2019-12-04T21:20:58+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/86ecef4a5de728e6d3ffe72a25077a94\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/#primaryimage\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/files\/2019\/10\/Fx-Browser-icon-fullColor.png\",\"contentUrl\":\"https:\/\/blog.mozilla.org\/addons\/files\/2019\/10\/Fx-Browser-icon-fullColor.png\",\"width\":2048,\"height\":2048,\"caption\":\"Firefox logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Extensions in Firefox 70\"}]},{\"@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\/86ecef4a5de728e6d3ffe72a25077a94\",\"name\":\"Philipp Kewisch\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c2d92d64a4b77306c45df1c9be647621?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c2d92d64a4b77306c45df1c9be647621?s=96&d=mm&r=g\",\"caption\":\"Philipp Kewisch\"},\"description\":\"Twitter: @pkewisch\",\"sameAs\":[\"https:\/\/twitter.com\/pkewisch\",\"https:\/\/x.com\/pkewisch\"],\"url\":\"https:\/\/blog.mozilla.org\/addons\/author\/calendar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Extensions in Firefox 70 - 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\/2019\/10\/10\/extensions-in-firefox-70\/","twitter_misc":{"Written by":"Philipp Kewisch","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/","url":"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/","name":"Extensions in Firefox 70 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/#primaryimage"},"image":{"@id":"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.mozilla.org\/addons\/files\/2019\/10\/Fx-Browser-icon-fullColor.png","datePublished":"2019-10-10T15:00:19+00:00","dateModified":"2019-12-04T21:20:58+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/86ecef4a5de728e6d3ffe72a25077a94"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/#primaryimage","url":"https:\/\/blog.mozilla.org\/addons\/files\/2019\/10\/Fx-Browser-icon-fullColor.png","contentUrl":"https:\/\/blog.mozilla.org\/addons\/files\/2019\/10\/Fx-Browser-icon-fullColor.png","width":2048,"height":2048,"caption":"Firefox logo"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2019\/10\/10\/extensions-in-firefox-70\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"Extensions in Firefox 70"}]},{"@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\/86ecef4a5de728e6d3ffe72a25077a94","name":"Philipp Kewisch","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c2d92d64a4b77306c45df1c9be647621?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c2d92d64a4b77306c45df1c9be647621?s=96&d=mm&r=g","caption":"Philipp Kewisch"},"description":"Twitter: @pkewisch","sameAs":["https:\/\/twitter.com\/pkewisch","https:\/\/x.com\/pkewisch"],"url":"https:\/\/blog.mozilla.org\/addons\/author\/calendar\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/8734"}],"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\/333"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/comments?post=8734"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/8734\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media\/8750"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=8734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=8734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=8734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}