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
raseshtcsraseshtcs 

View Source of the browser

I have created a Visualforce page and am using it through a site. When I right click on the browser and click on view source I am able to see the entire code of my controller class. Is there any way to hide that.

Best Answer chosen by Admin (Salesforce Developers) 
cloudmaniacloudmania

The codes that you saw belongs to developer mode component.turn the developer mode off .You will see that the code is hide.

All Answers

cloudmaniacloudmania

haha:) are you kidding me?Thats unbelivable...

cloudmaniacloudmania

The codes that you saw belongs to developer mode component.turn the developer mode off .You will see that the code is hide.

This was selected as the best answer