Javascript in browser bar vs in content script - 'die' doesn't work
<p>I'm trying to run a javascript command in a content script using Personalized-Web (a Chrome extension).  I'm new to javascript &amp; jquery, but I've found that entering this code:</p>

<pre><code>javascript:jQuery("div.photo-container").die();
</code></pre>

<p>into my browser bar on a particular page achieves the desired result: it undoes a <code>.live</code> call performed in one of the page's javascripts.</p>

<p>However, if I include that same code or <code>$("div.photo-container").die();</code> in a content script, it does not work.  I've also attempted including this script tag in the page context:</p>

<pre><code>&lt;script type="text/javascript"&gt;
    $("div.photo-container").die();
&lt;/script&gt;
</code></pre>

<p>and chrome claims that <code>$</code> or <code>jQuery</code> are not defined.  However, the page's own javascripts don't <code>include</code> or refer to the jQuery source at any point, as far as I can tell.</p>

<p>So, what's the difference between the browser bar, the content script, and the in-page <code>&lt;script&gt;</code> tag?  How can I use one of the 'automatic' methods (i.e., not paste it into the browser bar)?</p>
