Greasy Fork镜像 Display User's ID

Displaying User's ID in bottom of control panel(Vanilla JS).

目前為 2021-12-27 提交的版本,檢視 最新版本

// ==UserScript==
// @name Greasy Fork镜像 Display User's ID
// @namespace -
// @version 0.2
// @description Displaying User's ID in bottom of control panel(Vanilla JS).
// @author NotYou
// @match *gf.qytechs.cn/*/users/*
// @license GPLv3
// @license-link https://www.gnu.org/licenses/gpl-3.0.txt
// @grant none
// ==/UserScript==

const userID = window.location.pathname.substring(10)
const createElem = document.createElement("span");
const textNode = document.createTextNode("  [ User ID: " + userID + " ]");
createElem.appendChild(textNode);
const elem = document.getElementById("about-user");
elem.appendChild(createElem);

















QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址