Greasy Fork

Get CanvasID

Tested on udp.instructure.com

目前为 2021-12-10 提交的版本。查看 最新版本

// ==UserScript==
// @name         Get CanvasID
// @namespace    https://greasyfork.org/es/scripts/428690-get-canvasid
// @version      0.2
// @description  Tested on udp.instructure.com
// @author       Nicolás Boettcher
// @match        https://*.instructure.com/profile
// @match        https://*.instructure.com/courses/*/users/
// @icon         https://img2.freepng.es/20180404/isq/kisspng-computer-software-logo-id-software-clip-art-software-5ac4ea201ecfa4.8470427715228544321262.jpg
// @grant        none
// @license      MIT 
// ==/UserScript==

(function() {
    'use strict';
     console.log("Your CanvasID is: "+Object.values(ENV.current_user_id).join(''))
})();