function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tejender Mohan 9Tejender Mohan 9 

Is there any way to Obfuscated JS code of Custom Components in Force.com Sites?

Hello
I noticed that the Aura Custom Lightning Component's JS code is easily readable on the browser when the components are used in a custom public site.
Is there any way to Obfuscate that JS code?
I understand that JS code can be easily un-obfuscated and it should carefully be written to avoid any server data manipulation hack but there should at least the Obfuscation of JS code for public custom sites to avoid any easy to perform hacks on the browser.

If currently there is no way to Obfuscate custom lightning components code on custom sites then could you please upvote this idea?


https://trailblazer.salesforce.com/ideaView?id=0874V000000LzYqQAK

Thanks

Tejender Mohan 9Tejender Mohan 9
Idea Link: Obfuscated JS code for Custom Components (https://trailblazer.salesforce.com/ideaView?id=0874V000000LzYqQAK)