Page 1 of 1

Request: api to report ABP is fully loaded

PostPosted: Sat Jan 03, 2015 3:51 am
by her34
I have an external extension that needs to run after ABP has finished loading. Since ABP uses async io and some computers can run slow if older cpu or many add-ons there is not reliable way to know that ABP has finished loading.

ABP class is registered early in ABP startup so checking for class will return true even if ABP hasn't finished loading filters
Code: Select all
if (";1" in Components.classes)

There is public api documented here:

Would another api be added to report ABP state? Something like
Code: Select all
alert(AdblockPlus.finishedLoading); // "true" or "false"