“Downloads” require Google Chrome dev or newer, and this is a stable channel

I am doing a Chrome extension to automatically suggest a saveAs window when clicked. I found this in the API, but as soon as I added “downloads” to the sentences, I get a warning:

When trying to install this extension, there were warnings:

* 'downloads' requires Google Chrome dev or newer, and it is a stable channel.

I have no idea what channels are and how I change them.

What is it? Does this mean that anyone who downloads this extension will also have a headache when changing the channel?

My sample code is:

window.onload = function(){ alert(chrome); alert(chrome.downloads); chrome.downloads.download( {url: 'http://www.iana.org/_img/iana-logo-pageheader.png', saveAs: true }, function(res){alert(res);}); } 
+4
source share
1 answer

Most users are on the Stable channel because this is the default value.

If you want to use items with bleeding, get Dev or Canary assemblies. For more information on using another release channel, see chromium.org Chrome Release Channels .

+4
source

All Articles