title: Get an Openload VTT subtitle link
body: <p>I'd like to use Greasemonkey to add a subtitle download button for Openload VTT subtitles. However, I can't figure out how to access the <strong>&lt;track&gt;</strong> tag. </p>
  
  <p>Take, for example, this <a href="https://openload.co/embed/rjC09fkPLYs" rel="nofollow noreferrer">French video clip</a> with English subtitles.
  When I looked at the source code in Firefox, I found this:</p>
  
  <pre><code>&lt;video id="olvideo" width="100%" height="100%" crossorigin="anonymous" controls&gt;
      &lt;track kind="captions" src="https://thumb.oloadcdn.net/subtitle/rjC09fkPLYs/vt8zTaIaVqQ.vtt" srclang="en" label="English" default /&gt;
  &lt;/video&gt;
  </code></pre>
  
  <p>Why doesn't my proof-of-concept Greasemonkey code work?</p>
  
  <pre><code>// ==UserScript==
  // @name        Openload
  // @include     *openload.co*
  // @run-at      document-idle
  // ==/UserScript==
  
  var video = document.querySelector("video");
  
  if (video) {
      var track = video.querySelector("track");
      if (track) {
          alert ("&lt;track&gt; FOUND.");
      } else {
          alert ("&lt;track&gt; NOT found!");
      }
  
  } else { 
      alert ("&lt;video&gt; tag not found");
  }
  </code></pre>
  
  <p>(When I ran the script I got the message "&lt;track&gt; NOT found!".)</p>