lino10 / Show Artist Pixiv ID

// ==UserScript==
// @name        Show Artist Pixiv ID
// @namespace   https://greasyfork.org/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.0
// @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('h1.user');

if (elementNickname)
{
	if (tabFeed.href)
	{
		var arraySplit = tabFeed.href.split('/');
		elementNickname.innerHTML += '<br />'+arraySplit[arraySplit.length-1];
	}
}