 <p>You should be referencing $ variable like this:</p> <pre><code>$("body",window.content) </code></pre> <p>Also I have also used jQuery in my firefox extension it works seamlessly with no issues at all. </p>