[Resolved] DownThemAll API change

Bug reports and enhancement requests
Post Reply
d_a
Posts: 4
Joined: Mon May 14, 2012 7:01 pm

[Resolved] DownThemAll API change

Post by d_a »

Yesterday the developer of DownThemAll updated the way you access the API (in the development build) and thus breaks FlashGot.

There are only a few of lines that needs to be changed so that FlashGot works again.

In DMS.js:

Line 1355:

Code: Select all

IOS.newChannel("chrome://dta-modules/content/support/filtermanager.js", null, null);
How to gain access to the API:

Code: Select all

var glue = {}
Components.utils.import("chrome://dta-modules/content/glue.jsm", glue);
DTA = glue.require("api");
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/15.0 Firefox/15.0a1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: DownThemAll API change

Post by Giorgio Maone »

Thanks, please check whether latest development build 1.4.5rc2 fixes it.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
d_a
Posts: 4
Joined: Mon May 14, 2012 7:01 pm

Re: DownThemAll API change

Post by d_a »

Looks like it's working with the latest available version of DownThemAll and this version of FlashGot.
Mozilla/5.0 (Macintosh; PPC Mac OS X 10.5; rv:10.0.4) Gecko/20120421 Firefox/10.0.4 TenFourFox/G5
Post Reply