I’m not sure if this is a good place to ask this, but I couldnt find any active uBlock Origin -communities here. Please delete if this is inappropriate to ask.

This blog has an annoying dark mode toggle, that keeps following the page as you scroll. I have tried to block it by uBlock Origins picker tool, but it only allows selecting the little flame image, creating a filter:

“acoup.blog##.darkmode-toggle”

Yet there remains a partly transparent, unselectable round artifact after this, that keeps following the page like the toggle.

I know I can disable javascript on the page to make it go away, but its tedious to do it every time.

Any tips how to block that annoying little toggle?

  • 0v0
    link
    fedilink
    arrow-up
    9
    ·
    7 months ago

    Also add acoup.blog##.darkmode-layer to your filters.

    • Kallioapina@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      7 months ago

      Thank you 0v0, that did it!

      For the future in case there are similar cases, is there a way to select that with the picker tool or is that just something you have to know about?

      • 0v0
        link
        fedilink
        arrow-up
        3
        ·
        7 months ago

        This element is never generated as a candidate in the picker, probably a quirk of this specific site. I just looked at the DOM and saw this related element next to the dark mode button.