您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
07/10/2024, 22:38:20
// ==UserScript== // @name SharePoint List / Library ID In List / Library Settings // @namespace Eliot Cole Scripts // @match https://*.sharepoint.com/sites/*/_layouts/15/listedit.aspx* // @grant none // @license MIT // @version 1.0 // @author Eliot Cole // @description 07/10/2024, 22:38:20 // @require https://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.min.js // ==/UserScript== var DaListId = unsafeWindow._spPageContextInfo.listId.slice(1,-1); console.log('Bongobongo: '+DaListId); $('table#idItemHoverTable > tbody > tr:first-of-type').after('<tr><th scope="row" nowrap="nowrap" valign="top" id="500">ID:</th><td valign="top">'+DaListId+'</td></tr>');