title: management permissions for chrome extension in content script
body: <p>I have an chrome extension that should check whether another extension and add a div to every web page in <code>my-website.com</code> if it is not. So i put this in the manifest:</p>
  
  <pre><code>"background": {
      "scripts": ["background.js"]
  },
  
  "content_scripts": [
      {
          "matches": ["http://my-website.com/*"],
          "js": ["content.js"],
          "run_at": "document_end",
          "all_frames": true
      }
  ],
  
  "permissions": [
      "&lt;all_urls&gt;",
      "management",
      "activeTab",
      "webRequest",
      "webRequestBlocking"
  ]
  </code></pre>
  
  <p>And have this in my content script:</p>
  
  <pre><code>chrome.management.getAll(function (apps) {
     /* Manipulate DOM */
  });
  </code></pre>
  
  <p>But I get</p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'getAll' of undefined
  </code></pre>
  
  <p>On the web page. However when I open the dev tools of the extension (chrome://extensions -> background.js) I can use <code>chrome.management</code> just fine. How can I use <code>chrome.management</code> (or do something equivalent) on the content script?</p>