MozillaZine

Is the downloads API different on Firefox Android?

Talk about add-ons and extension development.
ygm_1
 
Posts: 1
Joined: May 1st, 2017, 7:39 pm

Post Posted May 1st, 2017, 7:50 pm

I'm trying to make a little extension for the Android version of Firefox, and I wanted to cause a download to occur.
To do this I use:
Code: Select all
browser.downloads.download(url)

But in the Firefox Android console I get the error:
Code: Select all
browser is undefined

Is this the wrong way to cause a download in FireFox Android? What should I be doing?

thanks.

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 4 guests