title: Injecting external javascript into an image
body: <p>I have a problem, I want to inject an external javascript into an image, here is an example</p>
  
  <p>I have 2 pages:</p>
  
  <ol>
  <li><a href="http://example.com" rel="nofollow noreferrer">http://example.com</a>
  This page contain this: <code>&lt;img class="img" src="http://example.com/javascript/script.js"&gt;</code> </li>
  <li><a href="http://example.com/javascript/script.js" rel="nofollow noreferrer">http://example.com/javascript/script.js</a>
  And this contain this:</li>
  </ol>
  
  <blockquote>
  <pre><code>&lt;script type="text/javascript"&gt;
    var example=document.getElementsByClassName('img')[0];
    example.style.display="none"
  &lt;/script&gt;
  </code></pre>
  </blockquote>
  
  <p>Note that this just an example, i know that what i am doing is useless. Can someone please help.
  Best regards!</p>