Request: api to report ABP is fully loaded

Discussion related to extensions like Extension Auto-Installer or Google Search link fix.
Locked
her34
Posts: 6
Joined: Thu Apr 23, 2009 5:55 pm

Request: api to report ABP is fully loaded

Post 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 ("@adblockplus.org/abp/public;1" in Components.classes)
{
There is public api documented here:
en/IAdblockPlus

Would another api be added to report ABP state? Something like

Code: Select all

alert(AdblockPlus.finishedLoading); // "true" or "false"
Locked