Protecting Javascript

Hi All,

I have some Javascript code that I’ve cobbled together from online resources. I have embedded the code inside the default code block in Softr. It works great, but when you go to the inspect menu in the browser the code is easily visible. I have seen other JS embeds where they embed as a widget to protect the core code.

Does anyone have any advice as to how might I achieve this in Softr whilst still being able to pull data from the window.records?