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
karthikChockalingamkarthikChockalingam 

Help with standard JS "Finalorg.ajax4jsf.javascript.AjaxScript" loading automatically

Hi all,
I have created a visualforce page in which the JS "Finalorg.ajax4jsf.javascript.AjaxScript" is loading automatically. How to stop loading it. The version "3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript" is creating vulnerability. How to update the verion of it or stop loading it.Thanks.
VinayVinay (Salesforce Developers) 
Hi Karthik,

Try adding contentType="text/xhtml"

<apex:page contentType="text/xhtml"

Review below link for more information.

https://salesforce.stackexchange.com/questions/33458/how-to-remove-standard-platform-javascript-from-a-visualforce-page-when-it-is-no/33713?noredirect=1#33713

Review below Idea link for option to turn off extra javascript and you can vote for this feature.

https://success.salesforce.com/ideaView?id=08730000000l2Y8AAI

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar