title: Tamper Monkey Image Replace
body: <p>I need to replace multiple images with the use of a tampermonkey script. This is what I have</p>
  <pre><code>    // ==UserScript==
      // @name         My Fancy New Userscript
      // @namespace    http://your.homepage/
      // @version      0.1
      // @description  enter something useful
      // @author       You
      // @match        http://*/*
      // @grant        none
      // ==/UserScript==
  
      var images = document.getElementsByTagName (&quot;img&quot;); 
      var x=0; 
      while(x&lt;images.length) 
      { 
      if(images[x].src == &quot;http://images.immortalday.com/images/items/238.png&quot;) 
      { 
      images[x].src = &quot;http://kindersay.com/files/images/hamburger.png&quot;; 
      } 
      x=x+1;    
      }
  </code></pre>
  <p>And this works great for a single image replacement! How would I be able to add more to the code so that I can replace multiple images instead of just one?</p>