We are looking to integrate our Haptik WebSDK widget on our Freshdesk help portal. Unfortunately, we are unable to get our Websdk to render on the support portal.
Our team tried to debug the issue and here is what we found - Freshdesk is using prototype.js library which results in different behavior for a JS function. The problem we are facing is that the default behavior of a function has been modified. JSON.stringify is calling Array.prototype but Array.prototype is giving a different response than expected. They are likely overwriting the base Array class.
Here is a StackOverflow thread discussing the same issue:
https://stackoverflow.com/questions/710586/json-stringify-array-bizarreness-with-prototype-js#:~:text=The%20function%20JSON.,are%20using)%20defines%20an%20Array
Join the Community or User Group to Participate in this Discussion
Reply
Sign in to the Community
No account yet? Create an account.
Social Login
Login for Freshworks Employees Login with LinkedInor sign up below
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.