Skip to content

Instantly share code, notes, and snippets.

@PoomSmart
Created March 4, 2018 10:22
Show Gist options
  • Save PoomSmart/f20c9b60a63aba1d18cd18c0a5199127 to your computer and use it in GitHub Desktop.
Save PoomSmart/f20c9b60a63aba1d18cd18c0a5199127 to your computer and use it in GitHub Desktop.
Remove most annoyances from My Courses.
// ==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