isExtensionUI function presentation

Last updated: 2026-03-05T11:49:57.418Z

Metrics

LOC: 5 Complexity: 2 Params: 1

Signature

isExtensionUI(el: Element): : boolean

Summary

Returns true if the element belongs to the Fill All extension UI. These elements must be excluded from recording.

Source Code

function isExtensionUI(el: Element): boolean {
  return EXTENSION_UI_SELECTORS.some(
    (sel) => el.matches?.(sel) || el.closest?.(sel) !== null,
  );
}

No outgoing dependencies.

Impact (Incoming)

graph LR isExtensionUI["isExtensionUI"] onInput["onInput"] onChange["onChange"] onClick["onClick"] captureUnrecordedFormFields["captureUnrecordedFormFields"] onSubmit["onSubmit"] onKeyDown["onKeyDown"] processMutations["processMutations"] onInput -->|calls| isExtensionUI onChange -->|calls| isExtensionUI onClick -->|calls| isExtensionUI captureUnrecordedFormFields -->|calls| isExtensionUI onSubmit -->|calls| isExtensionUI onKeyDown -->|calls| isExtensionUI processMutations -->|calls| isExtensionUI style isExtensionUI fill:#dbeafe,stroke:#2563eb,stroke-width:2px click isExtensionUI "d32bf4175ca1ff44.html" click onInput "578e68a59cf9ed07.html" click onChange "63739279f8aaa1aa.html" click onClick "d103b771aa1affc5.html" click captureUnrecordedFormFields "5a9cd35f60b34b67.html" click onSubmit "8be45aca6a1f4353.html" click onKeyDown "73ba995fd6e6330e.html" click processMutations "1402c8dfccd81bea.html"
SourceType
onInput calls
onChange calls
onClick calls
captureUnrecordedFormFields calls
onSubmit calls
onKeyDown calls
processMutations calls