Updated on 2025-01-23 GMT+08:00

Creating Co-browsing Rules

Context

When creating co-browsing rules, you need to use the CSS selector syntax. You are advised to familiarize yourself with the syntax in advance.

Prerequisites

The Co-browsing feature has been enabled for the tenant.

Procedure

  1. Sign in to the AICC as a tenant administrator and choose Configuration Center > Expansion and Integration > Co-browsing.
  2. Click New.
  3. Set Rule name.

    The value must:
    • Contain only letters, digits, and underscores (_).
    • Contain a maximum of 128 characters.

  4. Set Page Match Type as required.

    • Generic Matching: The rule takes effect for all pages that are browsed collaboratively under the tenant.

      For example, all password text boxes and the Submit button are shielded.

    • Match by URL path: The pattern of the URL accessed by the browser can be configured. The rule is the same as that of AntPathMatcher of Spring.

      ?: matches a single character.

      *: matches zero or more characters.

      **: matches zero or more paths (multi-level paths separated by slashes).

      Example: https://localhost:63343/**

    • Match by page ID: Generic Matching and Match by URL path cannot exactly match a page. In this case, Match by page ID can be used.

      The page ID matching mode requires customized development of the page URL. The cobrowse_page_id parameter is passed in the page URL for exact matching.

  5. (Optional) Set Page Match Config. This step is required when Page Match Type is set to Match by URL path or Match by page ID.

    The value can contain a maximum of 1024 characters.

  6. Set Page Element Selector. The selected page elements are shielded during co-browsing.

    The value must:
    • Be in a format that meets the syntax requirements of the CSS selector.
    • Contain a maximum of 1024 characters.

    Example: #input

  7. Click Save.

Follow-up Procedure

You can perform the following operations on the new rule:

  • Edit
  • Delete