Skip to content

Add documentation/guidelines for site integration using SSR and Fetch/XHR API detection #3079

Description

@zhangtonghetony

Description

When adding support for new websites that utilize Server-Side Rendering (SSR), checking for username existence by analyzing the returned initial HTML page often fails. In many SSR architectures, user-specific search results or profile states are loaded asynchronously after the initial page shell is delivered.

Specifically:

SSR Awareness: Clarify that for SSR-enabled sites, raw HTML responses from the base URL may not contain profile/user existence data.

API-based Detection: Instruct contributors to rely on internal API endpoints (JSON responses) instead of page HTML for username checking.

Inspection Workflow: Document the exact steps for finding these endpoints:

Open Developer Tools (F12).

Navigate to the Network (网络) tab.

Filter requests by Fetch/XHR.

Refresh the page or trigger the search action to capture the underlying API requests and payload structures.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions