Advertisement
derkoch

Steam Profile Nickname

Dec 2nd, 2016
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name        Steam Profile Nicknames
  3. // @namespace   http://steamcommunity.com/
  4. // @include     http://steamcommunity.com/profiles/*
  5. // @include     http://steamcommunity.com/id/*
  6. // @version     1
  7. // @grant       none
  8. // ==/UserScript==
  9.  
  10. var actions = document.getElementsByClassName("profile_header_actions")[0]
  11. var button = document.createElement('a')
  12. var label = document.createElement('span')
  13. label.innerText = "Add Nickname"
  14.  
  15. button.appendChild(label)
  16. button.href = "javascript:ShowNicknameModal()"
  17. button.className = "btn_profile_action btn_medium"
  18. actions.appendChild(button)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement