<p>For a recent project, I needed to detect whether a request was an AJAX request or not. <a href="http://devot-ee.com/add-ons/mx-ajax-detect">MX Ajax Detect</a> already existed, but I didn’t like that you needed the extra set of tags.</p>

<h2>Usage</h2>
<pre><code>{if {exp:is_ajax} == "true"}
	OH YEAAAH
{if:else}
	OH NOOO
{/if}</code></pre>

<h2>Download</h2>
<p>You can find the plugin on <a href="http://devot-ee.com/add-ons/is-ajax">Devot:ee</a> and <a href="https://github.com/davist11/is-ajax">GitHub</a>.</p>