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"