您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Shows the real name of logged in users
- // ==UserScript==
- // @name Vertix Real Name
- // @namespace dannytech
- // @version 0.1
- // @description Shows the real name of logged in users
- // @author dannytech
- // @match http://vertix.io/
- // @grant none
- // ==/UserScript==
- (function() {
- window.findUserByIndex = function(a) {
- for (var b = 0; b < gameObjects.length; ++b)
- if (gameObjects[b].index === a) {
- var playerTemp = gameObjects[b];
- if(playerTemp.isLoggedIn)
- playerTemp.name = playerTemp.account.user_name;
- return playerTemp;
- }
- return null;
- };
- })();