title: How to import API/external JS in a JS file?
body: <p>I'm coding a web extension for Firefox and I would like to make the same thing as this: <a href="https://stackoverflow.com/a/32616807/10452863">https://stackoverflow.com/a/32616807/10452863</a> , which means use Google API to search random images.</p>
  
  <p>How can I import the Google API in my .js file ?</p>