Troubleshooting Unwanted “Leave Site?” Alerts in Sage CRM

By | August 29, 2023

As you’re aware, users gain access to Sage CRM by simply launching a web browser and directing themselves to the CRM’s dedicated web application, which is securely hosted on a remote server. Consequently, any updates introduced in browser versions have the potential to ripple through and influence the performance of Sage CRM. Notably, a substantial portion of our user base relies on the Chrome browser for their CRM activities.

New Stuff: Customize User Interface of Login screen in Sage CRM 2023 R1

Lately, a number of our customers utilizing the Chrome browser for their Sage CRM web application have encountered an unsettling issue. Specifically, Chrome persistently presents them with an unwarranted prompt, repeatedly asking if they wish to leave the site, especially when they attempt to switch between different tabs within the application.

We have checked this problem at our end on different systems and different Sage CRM versions. After some investigation we found that this prompting issue is causing in because of recent Chrome update: Version 113.0.5672.64 (Official Build) (64-bit). To resolve the problem user can follow any one of the below solutions.

Solution 1

If feasible, we recommend ensuring that the Chrome browser is updated to the latest version across all systems. Once the update is completed, kindly advise all users to perform a browser cache clearance before attempting to log into Sage CRM once more.

However, it’s important to note that manually updating Chrome on every system might be quite time-intensive, especially if the browser doesn’t update automatically. Moreover, there’s a unique scenario where users accessing the CRM through an external URL might encounter the same issue if their Chrome version isn’t up to date. To circumvent this challenge, please refer to the alternative Solution 2 outlined below.

Solution 2

To rectify this issue, users are required to make an adjustment within the “SageLoaderSpinner.js” file located in the CRM instance. This entails commenting out the method “e.preventDefault();” within the script. Follow the below steps to do the same.

  1. Navigate to the CRM install folder: “instance name” \WWWRoot\js\ folder and take a backup of the “Custom” folder.
  2. Navigate to “CRM instance\WWWRoot\js\custom\” and open the “SageLoaderSpinner.js” file by double click on it.
  3. Comment out the method called “e.preventDefault();” and Save the file. Refer to the below screenshot.

4. Once the above steps are done kindly instruct all users to perform a browser cache clearance and subsequently log back into Sage CRM. This ensures that the modifications take effect seamlessly.

Upon implementing the aforementioned solutions, users will no longer encounter the intrusive “Leave Site?” prompt, even when utilizing Chrome version 113.0.5672.64 (Official Build) (64-bit).

About Us

Greytrix – a globally recognized and one of the oldest Sage Development Partners is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience and expertise, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development, and implementation competence.

Greytrix has some unique integration solutions developed for Sage CRM with Sage ERPs namely Sage X3Sage IntacctSage 100Sage 500, and Sage 300. We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users, and Sage PSG worldwide. Greytrix helps in the migration of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes addons like  Greytrix Business ManagerSage CRM Project ManagerSage CRM Resource PlannerSage CRM Contract ManagerSage CRM Event ManagerSage CRM Budget PlannerGmail IntegrationSage CRM Mobile Service SignatureSage CRM CTI Framework.

Greytrix is a recognized Sage Champion Partner for GUMU™ Sage X3 – Sage CRM integration listed on Sage Marketplace and Sage CRM – Sage Intacct integration listed on Sage Intacct Marketplace. The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for the processing and execution of application programs at the click of a button.

For more information on our integration solutions, please contact us at sage@greytrix.com. We will be glad to assist you.