Skip to main content
Skip table of contents

Fixing the Chrome 101 issue in GlobalSearch Web

This issue was addressed in the GlobalSearch Release Update version 6.2.112. If you are using GlobalSearch version 6.2, the recommended long-term fix is to apply the latest release update. For the current installer, please contact support at support@square-9.com

Click to enlarge

Google Chrome version 101.0.4951.41 introduced an issue in the GlobalSearch Web search results page (the “Grid View”) where a gray bar appears above the search results, obscuring the first few rows of results. This issue affects all GlobalSearch instances running GlobalSearch version 4.5.0 or newer.

This can be manually fixed by making changes in two files, as details below. It is highly recommended to use an advanced text editor such as notepad++, Vim, or VS Code.

This requires access to the GlobalSearch application server and should be performed by an IT professional.

Back up all relevant files before making any edits. If the issue persists after making these changes, revert the files to the backup.

After making these changes, users will need to hard refresh the Search Results page or clear their browser cache.

File 1: simple-sidebar.css

Locate the file C:\inetpub\wwwroot\Square9Web\css\simple-sidebar.css and make the following two changes:

Find the text

CSS
margin-top:65px;padding:0;

and replace it with

CSS
padding:65px 0 0 0;

Then, find the text

CSS
height:calc(100vh - 140px);margin-top:50px

and replace it with

CSS
height:calc(100vh - 140px);padding-top:50px

File 2: globalSearch.min.js

Locate the file C:\inetpub\wwwroot\Square9Web\js\globalSearch.min.js and make the following change:

Step 1

Find the text

JS
("#page-content-wrapper").css("margin-top",s)

and replace it with

JS
("#page-content-wrapper").css("padding-top",s)

Note that the letter that comes after “margin-top", will vary from system to system. If you can’t find ("#page-content-wrapper").css("margin-top",s) exactly, try searching for ("#page-content-wrapper").css("margin-top", instead.

Note the letter that comes after "margin-top", in your system, as it is needed in the next step.

Step 2

Next, find the text

JS
$(document).height()-$("#page-content-wrapper")

and replace it with

JS
$(document).height()-s-$("#page-content-wrapper")

If the letter after “margin-top", found in step one is different than s, use that letter after height()- instead. For example, if you found the letter e, as in ("#page-content-wrapper").css("margin-top",e), then your replacement for Step 2 would be:

JS
$(document).height()-e-$("#page-content-wrapper")
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.