job-autofill
    Preparing search index...
    interface SiteAdapter {
        applyAction?: (action: Action, target: HTMLElement) => Promise<boolean>;
        matches: (url: URL) => boolean;
        name: string;
        onExtractField?: (element: HTMLElement, field: DomField) => DomField | null;
    }
    Index

    Properties

    applyAction?: (action: Action, target: HTMLElement) => Promise<boolean>

    Optional hook to handle action application for custom components. Returns true if the action was handled by the adapter.

    matches: (url: URL) => boolean

    Returns true if this adapter should be active for the given URL.

    name: string
    onExtractField?: (element: HTMLElement, field: DomField) => DomField | null

    Optional hook to provide custom field extraction logic or augment the default one.