NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Auto unenroll Bb // @namespace http://tampermonkey.net/ // @version 0.1 // @description Auto-unenroll from any course accessed (turn on only when needed ;D) // @author @asameshimae // @match https://online.manchester.ac.uk/webapps/blackboard/* // @grant none // @license MIT // ==/UserScript== (function() { window.confirm = () => true setTimeout( () => document.querySelector('#quickEnrollLink.enrolled').click(), 1500) // to bulk open from homepage with rate limiting /* function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)) } var courses = [...document.querySelectorAll('#CurrentCourses li a')].filter(a=>!a.textContent.match(/^UCIL2600|EDUC6609/)) const loopUnits = async (list) => { for (let course of list) { await window.open(course) await sleep(500) } } // loopUnits(courses) */ })();