UTOL helpers

enhance UTOL

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         UTOL helpers
// @namespace    https://fuwa.dev/
// @version      0.1
// @description  enhance UTOL
// @author       fuwa
// @match        https://itc-lms.ecc.u-tokyo.ac.jp/*
// @match        https://utol.ecc.u-tokyo.ac.jp/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=u-tokyo.ac.jp
// @grant        none
// ==/UserScript==

(function() {
  'use strict';

  window.onbeforeunload = undefined;

  if (location.pathname == '/robots.txt') location.pathname = '/';

  // vimium hint
  document.querySelectorAll('div.divTableCellHeader.timetable-course-top-btn').forEach(a=>a.setAttribute('role', 'button'));
  document.querySelectorAll('label.link-txt').forEach(a=>a.setAttribute('role', 'button'));


  const stylenode = document.createElement("style");
  stylenode.innerHTML = `
  .sidemenu_hide .sidemenu_link.sidemenu_link_lms { display: none !important; }
  `;
  document.querySelector("head").appendChild(stylenode);


})();