AdGuard suddenly not blocking ads when Firefox starts

Discussion in 'AdGuard for Firefox' started by Drew99GT, Dec 27, 2014.

  1. Drew99GT

    Drew99GT New Member

    Joined:
    Dec 2, 2014
    Messages:
    6
    I think adguard updated to the newest version and now when I start Firefox, ads are not blocked. If I refresh the page, then it starts working. Also, the icon now takes a while to go from greyed out to green when Firefox starts, which I think is why it won't block ads at startup.

    ---------- Post added at 01:54 PM ---------- Previous post was at 01:50 PM ----------

    https://support.mozilla.org/en-US/questions/998461

    https://adblockplus.org/forum/viewtopic.php?t=22906

    Issue is identical to this that has happened to adblock in the past.
     
    Last edited by a moderator: Dec 27, 2014
  2. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    3,648
    Yep, I've noticed that and I've been aware of it happening to Adblock Plus too in the past.
     
  3. Drew99GT

    Drew99GT New Member

    Joined:
    Dec 2, 2014
    Messages:
    6
    Thanks Boo; did it just start happening recently for you? It did for me. Before, Adguard would load very fast and immediately start blocking ads on browser startup. I think it has to do with version 1.0.3.8
     
  4. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    3,648
    No, it's always been that way for me.
     
    Last edited by a moderator: Dec 28, 2014
  5. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    13,121
    By default Adguard initializes in parallel with Firefox.
    So we may be not ready to work when the first site is opened.

    You can switch Adguard into synchronous initialization if you change one property in about:config
    extensions.adguardadblocker@adguard.com.speedup_startup
     
  6. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    3,648
    This doesn't seem to do anything, actually. I've tried it (homepage is https://news.google.com/) and on first load the Adguard icon doesn't indicate any blocked ads, nor does it turn blue when Adguard for Windows is detected. Reloading the page makes it work correctly. I'm pretty sure this is a Firefox limitation. Maybe a feature is needed to quick reload the page once the extension initializes?
     
    Last edited by a moderator: Jan 9, 2015
  7. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    13,121
    That's another bug, but in this case bug is not on our side.

    The problem is that add-on does not see this first request (API method is not called).
    So we can't check if response is filtered by AG and also we can't indicate the number of blocked ads.