Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-861

Conflict with WalkMe extension in Chrome

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 10.10
    • Fix Version/s: 3.0.0
    • Component/s: Web UI
    • Backlog priority:
      0

      Description

      Problem:

      When the WalkMe extension is installed in Chrome, the loading of Nuxeo WebUI (after the authentication form) freezes the browser and Chrome suggest to interrupt the process.

      Explanation:

      To find out if the WalkMe extension is integrated into a page, the extension scans the DOM of this page to find a “script” tag containing a walkme url.

      The problem has been observed and partly fixed by the developers of the extension: if the “innerHTML” of the script is longer than 350 characters, the regex is not executed.

      But in the case of Nuxeo, the code is contained in "data:text" in the "src" attribute, and not in the "innerHTML".

      In the example of a Nuxeo applications in LTS 2019, the home page contains more than 500 script tags and many of them contain a lot of code directly in the "src" attribute. Passing the regular expression over each of them takes a considerable amount of time, and requires a lot of CPU calculation.

      In the end, with a lot of patience, the application ends up loading, because there is no other problem than the slowness of execution.

      Fix:
      no fix will be done by Nuxeo at it would require to change the structure of the page (DOM).
      The problem does not happen with LTS 2021 (using Polymer3), so upgrading to the latest LTS is the easiest way to workaround this issue.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: