Rahul-RB / Remove "MORE VIDEOS" from embedded YouTube

// ==UserScript==
// @name         Remove "MORE VIDEOS" from embedded YouTube
// @namespace    https://elearning.ravindrababuravula.com/
// @version      0.0.1
// @description  Remove the annoying "MORE VIDEOS" from YouTube
// @author       Rahul R Bharadwaj
// @match        https://elearning.ravindrababuravula.com/*
// @grant        none
// @license      MIT
// @copyright    2020, Rahul-RB (https://openuserjs.org/users/Rahul-RB)
// ==/UserScript==

window.addEventListener('load', function() {
    'use strict';
    var e = document.getElementsByTagName("h2")
    var found = false;
    for(var i=0;i<e.length;i++){
        if(e[i].innerText.toUpperCase().includes("MORE VIDEOS")) {
            e[i].parentNode.remove();
            found = true;
        }
    }
    if(found)
        console.log("\"MORE VIDEOS\" Found and removed!");
    else
        console.log("\"MORE VIDEOS\" NOT Found :(");   
}, false);