title: HTML elements I add in Google Drive don't work
body: <p>I created a chrome extension which activates when I enter in an specified folder in Google Drive. This extension adds a diagram made with D3.js in that folder as you can see in the following picture:</p>
  
  <p><a href="https://i.stack.imgur.com/gG10V.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gG10V.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/kh84a.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kh84a.jpg" alt="enter image description here"></a></p>
  
  <p>Apart from the diagram, it also adds a dropdown list but the problem is that it doesn't work when I click on it (it doesn't show the options). The only thing it does is to create the rectangle to select elements as you can see in the next picture:
  <a href="https://i.stack.imgur.com/xMprz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xMprz.jpg" alt="enter image description here"></a></p>
  
  <p>I tried to add other HTML elements in Google Drive such as buttons but they didn't work either. It seems that Google Drive deactivate the onclick event of the html elements I add.</p>
  
  <p>The code of the dropdown list:</p>
  
  <pre><code>d3.select("#divSelect")
      .append("select")
      .attr("class","desplegable")
      .attr("id","desplegable")
      .on('change',function (d,i) {
          var grupoSeleccionado = d3.select("#desplegable").node().value; //Examen seleccionado
          if (grupoSeleccionado=="Total"){ //Vision general de los examenes
              dibujarSpiderChart(data);
  
          } else { //Vision de un examen en concreto
              var notasAlumnoExamen=_.filter(data[0],{'group':grupoSeleccionado});
              var notasMediasExamen=_.filter(data[1],{'group':grupoSeleccionado});
              var dataGrupo=[];
              dataGrupo.push(notasAlumnoExamen);
              dataGrupo.push(notasMediasExamen);
              dibujarSpiderChart(dataGrupo);
          }
          ;})
      .selectAll("option")
      .data(gruposLista)
      .enter()
      .append("option")
      .attr("value", function (d) { return d.id; })
      .text(function (d) { return d.nombre; }); 
  </code></pre>