title: User/Javascript formatting
body: <p>This is my current code:</p>
  
  <pre><code>setInterval(function (){
  // ==UserScript==
  // @name          DriversEd Time Saver!
  // @namespace     pandather@gmail.com
  // @description   Automatically goes to the next slide once the next button is clickable.
  // @copyright     2014+, Marque Kuem
  // @license       GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
  // @license       (CC); http://creativecommons.org/licenses/by-nc-sa/3.0/
  // @version       0.1
  // @icon          https://driversed.com/img/logo.png
  
  // @homepageURL   https://duckduckgo.com/
  // @supportURL    https://duckduckgo.com/
  
  // @include       https://driversed.com/dashboard/course/*
  
  // ==/UserScript==
      alert('Running!');
      var clickNext = document.querySelectorAll("btn.btn-small.btn_next.btn-advance");
      if(clickNext.length&gt;0){
          alert('Next is clickable.');
      }
  },2500);
  </code></pre>
  
  <p>But when I run it it does not work at all, as if the code never runs, how could I fix this? Also, can anyone link me some good guides to getting started with userscripts and javascript?</p>