sarah_pdx / Steephill TV, videos in tabs, not windows

// ==UserScript==
// @name         Steephill TV, videos in tabs, not windows
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Open steephill.tv videos in new tab, not new window
// @author       You
// @match        http://www.steephill.tv/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // find all video links
    var hrefs = document.querySelectorAll("a.video");
    // alert(hrefs.length);

    // Open videos in new tab, not new window.  Remove tracking.
    for (var i=0; i<hrefs.length; ++i) {
        hrefs[i].removeAttribute("onclick");
        hrefs[i].setAttribute("target","_blank");
    }

})();