Created
March 4, 2018 10:22
-
-
Save PoomSmart/f20c9b60a63aba1d18cd18c0a5199127 to your computer and use it in GitHub Desktop.
Remove most annoyances from My Courses.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name MyCourses-NoAnnoyance | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Remove most annoyances from My Courses | |
// @author Thatchapon | |
// @match https://mycourses.ict.mahidol.ac.th/* | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
//$("#site-news-forum").parent().remove(); | |
$("#page-footer").remove(); | |
$(".frontpage-course-list-enrolled").parent().parent().remove(); | |
$("#exportTable").remove(); | |
$("#studentTable").remove(); | |
$(".list-group-item[href='https://mycourses.ict.mahidol.ac.th/my/']").remove(); | |
$(".list-group-item[href='https://mycourses.ict.mahidol.ac.th/?redirect=0']").remove(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment