Request: api to report ABP is fully loaded

Discussion related to extensions like Extension Auto-Installer or Google Search link fix.

Request: api to report ABP is fully loaded

Postby her34 » Sat Jan 03, 2015 3:51 am

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"
Posts: 6
Joined: Thu Apr 23, 2009 5:55 pm

Return to Other extensions

Who is online

Users browsing this forum: No registered users and 1 guest