Group Management Script

Adds special links in header block for Empire leaders.

As of 06.05.2015. See ბოლო ვერსია.

  1. // ==UserScript==
  2. // @name Group Management Script
  3. // @namespace empiregroupmanagement
  4. // @description Adds special links in header block for Empire leaders.
  5. // @include http://hackforums.net/*
  6. // @include http://www.hackforums.net/*
  7. // @version 1.0
  8. // ==/UserScript==
  9.  
  10. var regex = "User CP</strong></a>";
  11. var revised = "User CP</strong></a> &mdash; <a href='http://www.hackforums.net/managegroup.php?gid=44'><strong>Group CP</strong></a> &mdash; <a href='http://www.hackforums.net/managegroup.php?action=joinrequests&gid=44'><strong>Requests CP</strong></a>";
  12. document.getElementById('panel').innerHTML= document.getElementById('panel').innerHTML.replace(regex,revised);