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
Scott.MScott.M 

Is there any way to prevent ajax4jsf from loading in a visualforce page

I have a site visualforce page that is loading some unecessary javascript. Specificly the following javascript:

/faces/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript?rel=1405380279000

I would like to prevent force.com from including this file in the page. Is there anyway to do this? Are there some components that cause this script to be loaded? 

I would also like to prevent this file from loading:

/static/111213/js/perf/stub.js

Any help is appreciated :) 

Cheers,
Scott
Andy BoettcherAndy Boettcher
You can TRY to use the "showheader=false", "sidebar=false", and "standardstylesheets=false" to strip out all of the SFDC UI.
Scott.MScott.M
i'm already doing that but it's still showing up in the rendering, thanks though! 
tmdiwakaratmdiwakara
Try adding contentType="text/xhtml"
<apex:page contentType="text/xhtml"