xadamxk custom header

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

目前为 2014-07-02 提交的版本。查看 最新版本

// ==UserScript==
// @name       xadamxk custom header
// @namespace  http://use.i.E.your.homepage/
// @version    0.1
// @description  Adds "| Empire | Brotherhood | iOS & iDevices | Suggestions & Ideas | Mentor|"
// @match      http://*/*
// @copyright  2012+, You
// ==/UserScript==
var regex = /\(Unread(.*?)\)/;
var revised = "(Unread $1) | <a href='forumdisplay.php?fid=242'>Empire</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> |";
document.getElementById('panel').innerHTML= document.getElementById('panel').innerHTML.replace(regex,revised);