好友页面显示Steam空余好友位

Show Steam empty friend list.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         好友页面显示Steam空余好友位
// @namespace    http://blog.853lab.com/
// @version      0.1
// @description  Show Steam empty friend list.
// @author       Sonic853
// @include		*://steamcommunity.com/id/*
// @include		*://steamcommunity.com/profiles/*
// @exclude		*://steamcommunity.com/id/*/friends/
// @exclude		*://steamcommunity.com/profiles/*/friends/
// @grant        none
// ==/UserScript==

var EdmundDZhang = document.getElementsByClassName("friendPlayerLevelNum")[0].innerText;
document.getElementsByClassName("profile_friend_links")[0].getElementsByClassName("profile_count_link_total")[0].innerHTML += ' / '+ (250 + (5 * EdmundDZhang)) +'<span style="font-size: 12px;">or ' + (300 + (5 * EdmundDZhang)) + '</span>';