title: Why can't this chrome extension be installed?
body: <p>I have a couple very short + simple extensions that I can't install to chrome. I am given the following error about the 'manifest version', so I assume that the problem is that it is outdated, I haven't any experience in chrome extensions/javascript so I couldn't fix them myself as I would normally try to do, these were written for me by a friend a while back. </p>
  
  <p>Could someone let me know how I should correct these files?</p>
  
  <p>Error: </p>
  
  <pre><code>The 'manifest_version' key must be present and set to 2 (without quotes). See developer.chrome.com/extensions/manifestVersion.html for details.
  </code></pre>
  
  <p>Extension files:</p>
  
  <p>manifest.json for extension 1:</p>
  
  <pre><code>{
  "content_scripts": [ {
    "exclude_globs": [  ],
    "include_globs": [ "*slavehack*index2.php\\?page=internet&amp;openFolder=&amp;var3=files&amp;aktie=*&amp;*=*" ],
    "js": [ "script.js" ],
    "matches": [ "http://*/*", "https://*/*" ]
  } ],
  "converted_from_user_script": true,
  "description": "",
  "key": "XKBlE2kyhcJNHGYLuLylZhjFVQV7puTEQbsFuGRcKoY=",
  "name": "Slavehack Process Log Protector",
  "version": "1.0"
  }
  </code></pre>
  
  <p>script.js for extension 1:</p>
  
  <pre><code>// ==UserScript==
  // @name           Slavehack Process Log Protector
  // @include        *slavehack*index2.php?page=internet&amp;openFolder=&amp;var3=files&amp;aktie=*&amp;*=*
  // @version                1.0
  // ==/UserScript==
  var allA = document.getElementsByTagName('a');
  for (var i = 0; i &lt; allA.length; i++) {
      if ( allA[i].innerHTML.match('Access logfile') ) {
          window.location.href = allA[i].href;
      }
  }
  </code></pre>
  
  <p>manifest.json for extension 2:</p>
  
  <pre><code>{
    "content_scripts": [ {
    "exclude_globs": [  ],
    "include_globs": [ "*slavehack*index2.php\\?page=internet&amp;var3=&amp;aktie=FP&amp;var2=*&amp;transfer=*&amp;tonumber=*&amp;toip=*" ],
    "js": [ "script.js" ],
    "matches": [ "http://*/*", "https://*/*" ]
     } ],
     "converted_from_user_script": true,
     "description": "",
     "key": "WxQnzwPDzxXFW/TSZw6dNJJJSyVIXlub/QQGMlVtjbc=",
     "name": "Bank IP Log Crack Remover",
     "version": "1.0"
  }
  </code></pre>
  
  <p>script.js for extension 2:</p>
  
  <pre><code>// ==UserScript==
  // @name           Bank IP Log Crack Remover
  // @include        *slavehack*index2.php?page=internet&amp;var3=&amp;aktie=FP&amp;var2=*&amp;transfer=*&amp;tonumber=*&amp;toip=*
  // @version                1.0
  // ==/UserScript==
  var bankip = window.location.href.split('=')[window.location.href.split('=').length - 1]
  window.location.href = 'http://www.slavehack.com/index2.php?page=internet&amp;var2='+bankip.replace('#','')+'&amp;var3=crack&amp;var4=';
  </code></pre>
  
  <p>Many thanks for any help</p>