Request: api to report ABP is fully loaded
Posted: Sat Jan 03, 2015 2: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
There is public api documented here:
en/IAdblockPlus
Would another api be added to report ABP state? Something like
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)
{
en/IAdblockPlus
Would another api be added to report ABP state? Something like
Code: Select all
alert(AdblockPlus.finishedLoading); // "true" or "false"