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

How can we stop Salesforce Standard Javascript from running behind the VF pages.

We have some VF page, that we visible as Public Site on my client website. The VF page are working fine but due to salesforce Standard Javascripts. The website perform is quite down. 

Can you please provide me some idea to avoid running these standard Javascript libraries. 

Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Gaurav,

May I request you to please refer the below link for reference. I hope it will be helpful.

Please Mark it as best Answer if the information is informative.

Best Regards
Rahul Kumar
NagendraNagendra (Salesforce Developers) 
Hi Gaurav,

Hi Gaurav,

Doesn't seems possible, for this an idea is already listed in idea-exchange. You can try the solution mentioned on the very latest comment this idea (
Try to adding contentType="text/xhtml"
<apex:page contentType="text/xhtml"
Also, upvote the idea to increase its point to get it implement in the coming product releases. Thanks,

Hi Nagrendra,

As of now, salesforce do not provide any option to disable Standard salesforce Javascript, I have already tried with above solution of "contentType="text/xhtml"" but it doesnt seems to be working. 

Thanks for your response.