Using lift 2.4, all my rendered templates end up including a script tag at the bottom for liftAjax.js. I am not using any ajax functionality, and removed the jquery stuff from my bootstrap. How can I get rid of this extra markup from my pages?
<script type="text/javascript" src="/ajax_request/liftAjax.js"></script>
<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(function() {liftAjax.lift_successRegisterGC();});
var lift_page = "F2025216344212IYC4Z";
// ]]>
</script>
This handles lifts function cleanup so that Lift can determine when particular server side functions are in use on the page or not. Its essentially an optimisation and I would not encourage you to disable it.
If however, you insist on disabling it, then you need to add the following to your boot.scala:
LiftRules.autoIncludeAjax = session => false