Show Artist Pixiv ID

Show Pixiv ID of the artist under nickname

目前為 2017-08-22 提交的版本,檢視 最新版本

// ==UserScript==
// @name        Show Artist Pixiv ID
// @namespace   https://gf.qytechs.cn/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 elementUserProfile = document.querySelector('._user-profile-card');

if (elementUserProfile)
{
	var elementNickname = elementUserProfile.querySelector('.user-name');
	
	if (elementNickname)
	{
		var tabFeed = document.querySelector('.tab-feed');
		
		if (tabFeed.href)
		{
			var arraySplit = tabFeed.href.split('/');
			elementNickname.innerHTML += '<br />'+arraySplit[arraySplit.length-1];
		}
	}
}

QingJ © 2025

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