@duckduckgo/privacy-dashboard
    Preparing search index...

    Function setupMutationObserverForExtensions

    • Sets up a MutationObserver to monitor changes in the DOM and execute a callback function.

      Parameters

      • callback: Function

        The callback function to be executed when a mutation is observed.

      Returns Function

      • A function that can be called to disconnect the MutationObserver.