title: Chrome Web Extension, using buttons to open web page in new tab
body: <p>I am developing a chrome extension for the first time. It is relatively simple, all I want it to do is open up a web page in a new tab when a button is clicked. I am however not sure how to do this without javascript as I know chrome blocks inline <code>&lt;script&gt;</code> elements (or something like that). Below is my <code>popup.html</code>.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  
  
  &lt;style&gt;
  
  .button {
      position: relative;
      background-color: #4F5B62;
      border: none;
      font-size: 28px;
      font-family: "Roboto Mono";
      font-weight: lighter;
      color: #FFFFFF;
      opacity: 0.6;
      padding: 20px;
      width: 200px;
      text-align: center;
      -webkit-transition-duration: 0.4s; /* Safari */
      transition-duration: 0.4s;
      text-decoration: none;
      overflow: hidden;
      cursor: pointer;
      border-radius: 12px;
  }
  
  .button:hover{
    opacity: 1;
  }
  
  .button:after {
      content: "";
      background: #f1f1f1;
      display: block;
      position: absolute;
      padding-top: 300%;
      padding-left: 350%;
      margin-left: -20px !important;
      margin-top: -120%;
      opacity: 0;
      transition: all 0.8s
  }
  
  .button:active:after {
      padding: 0;
      margin: 0;
      opacity: 1;
      transition: 0s
  }
  
  body{
    background-color: #263238;
  }
  
  head{
    background-color: #263238;
  }
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  
  &lt;button type="button" class="button"&gt;Access chatter&lt;/button&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Any help would be appreciated.</p>