moodle-width

resizes moodle for smaller window widths.

当前为 2024-09-07 提交的版本,查看 最新版本

// ==UserScript==
// @name         moodle-width
// @version      0.0
// @description  resizes moodle for smaller window widths.
// @match        https://moodle.helsinki.fi/*
// @namespace    https://greasyfork.org/users/217495-eric-toombs
// @run-at       document-idle
// ==/UserScript==


style_tag = document.createElement('style');
style_tag.innerHTML = `
div#topofscroll {
		max-width: 100vw !important;
}
`;
document.getElementsByTagName('head')[0].append(style_tag);