xadamxk custom header

Adds "| Empire | Brotherhood | iOS & iDevices | Suggestions & Ideas | Mentor|"

目前为 2014-11-05 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name xadamxk custom header
  3. // @namespace http://use.i.E.your.homepage/
  4. // @version 0.1.1
  5. // @description Adds "| Empire | Brotherhood | iOS & iDevices | Suggestions & Ideas | Mentor|"
  6. // @match http://*/*
  7. // @copyright 2012+, You
  8. // ==/UserScript==
  9. var regex = /\(Unread(.*?)\)/;
  10. var revised = "(Unread $1) | <a href='forumdisplay.php?fid=250'>Pheonix</a> | <a href='forumdisplay.php?fid=77'>Specialists</a> | <a href='forumdisplay.php?fid=280'>Brotherhood</a> | <a href='forumdisplay.php?fid=137'>iOS & iDevices</a> | <a href='forumdisplay.php?fid=134'>Suggestions & Ideas</a> | <a href='forumdisplay.php?fid=123'>Mentor</a> |";
  11. document.getElementById('panel').innerHTML= document.getElementById('panel').innerHTML.replace(regex,revised);