Warren B's custom header

Adds "Buyers Bay | Website Construction | C/C++/Obj-C | PHP | Lounge | Groups"

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name       Warren B's custom header
// @namespace  http://use.i.E.your.homepage/
// @version    1.0.1
// @description  Adds "Buyers Bay | Website Construction | C/C++/Obj-C | PHP | Lounge | Groups"
// @include    *hackforums.net*
// @match      http://*/*
// @copyright  2012+, You
// ==/UserScript==
var regex = /\(Unread(.*?)\)/;
var revised = "(Unread $1) | <a href='forumdisplay.php?fid=44'>Buyers Bay</a> | <a href='forumdisplay.php?fid=50'>Website Construction</a> | <a href='forumdisplay.php?fid=117'>C/C++/Obj-C</a> |  <a href='forumdisplay.php?fid=154'>PHP</a> | <a href='forumdisplay.php?fid=25'>Lounge</a> | <a href='forumdisplay.php?fid=53'>Groups</a> |";
document.getElementById('panel').innerHTML= document.getElementById('panel').innerHTML.replace(regex,revised);