Steamid64 Viewer

Simple script for view steamid64 on userpages

  1. // ==UserScript==
  2. // @name Steamid64 Viewer
  3. // @name:ru Steamid64 Viewer
  4. // @version 0.13
  5. // @description Simple script for view steamid64 on userpages
  6. // @description:ru Простой скрипт для просмотра steamid64 на странице пользователя
  7. // @author ushastoe
  8. // @match *steamcommunity.com/id/*
  9. // @match *steamcommunity.com/profiles/*
  10. // @icon https://www.google.com/s2/favicons?sz=64&domain=steamcommunity.com
  11. // @grant none
  12. // @license MIT
  13. // @namespace https://greasyfork.org/users/448505
  14. // ==/UserScript==
  15.  
  16. (function() {
  17. 'use strict';
  18. var newElement = document.createElement("div");
  19. newElement.classList.add("steamid");
  20. var element = document.querySelector(".responsive_status_info");
  21. if (element) {
  22. newElement.innerText = "SteamID64: " + g_rgProfileData.steamid;
  23. element.appendChild(newElement);
  24. }
  25. })();