您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Shows the full TO Do task title when you hover over it on the instructure.com dashboard of your course.
- // ==UserScript==
- // @name To Do list title - Canvas Instructure
- // @namespace https://greasyfork.org/en/users/670188-hacker09?sort=daily_installs
- // @version 5
- // @description Shows the full TO Do task title when you hover over it on the instructure.com dashboard of your course.
- // @author hacker09
- // @match https://*.instructure.com/*
- // @icon https://du11hjcvx0uqb.cloudfront.net/br/dist/images/favicon-e10d657a73.ico
- // @run-at document-end
- // @grant none
- // ==/UserScript==
- setTimeout(async function() {
- 'use strict';
- document.querySelectorAll("div.ToDoSidebarItem__Title").forEach(el => el.title = el.querySelector('div > a > span').innerText); //Fully show each title on hover
- new MutationObserver(async function() { //Se uma quantidade diferente for selecionada
- document.querySelectorAll("div.ToDoSidebarItem__Title").forEach(el => el.title = el.querySelector('div > a > span').innerText); //Fully show each title on hover
- }).observe(document.querySelector("#planner-todosidebar-item-list"), { //Defines the element and the characteristics to be observed
- attributes: false,
- attributeOldValue: false,
- characterData: false,
- characterDataOldValue: false,
- childList: true,
- subtree: true
- }); //Finishes the definitions to be observed
- }, 3000);