您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Show Pixiv ID of the artist under nickname
当前为
// ==UserScript== // @name Show Artist Pixiv ID // @namespace http://greasyfork.icu/en/users/37676 // @description Show Pixiv ID of the artist under nickname // @match *://*.pixiv.net/member.php* // @match *://*.pixiv.net/member_illust.php* // @match *://*.pixiv.net/bookmark.php* // @match *://*.pixiv.net/stacc/* // @run-at document-end // @version 1.0.1 // @grant none // @license Creative Commons Attribution 4.0 International Public License; http://creativecommons.org/licenses/by/4.0/ // ==/UserScript== var tabFeed = document.querySelector('.tab-feed'); var elementNickname = document.querySelector('.user-name'); if (elementNickname) { if (tabFeed.href) { var arraySplit = tabFeed.href.split('/'); elementNickname.innerHTML += '<br />'+arraySplit[arraySplit.length-1]; } }