xadamxk custom header

Adds various shortcuts to the HF toolbar.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name       xadamxk custom header
// @namespace  http://use.i.E.your.homepage/
// @version    1.1.6
// @description  Adds various shortcuts to the HF toolbar.
// @match      hackforums.net/*
// @copyright  2012+, You
// ==/UserScript==
var regex = /\(Unread(.*?)\)/;
var revised = "(Unread $1) | <a href='forumdisplay.php?fid=25'>Lounge</a> | <a href='forumdisplay.php?fid=2'>RANF</a> | <a href='forumdisplay.php?fid=53'>Groups</a> | <a href='forumdisplay.php?fid=247'>Web Browsers</a> |  <a href='forumdisplay.php?fid=250'>Eclipse</a> | <a href='forumdisplay.php?fid=105'>Market</a> | <a href='forumdisplay.php?fid=137'>iOS & iDevices</a> | <a href='private.php?action=tracking'>PM Tracking</a> |";
document.getElementById('panel').innerHTML= document.getElementById('panel').innerHTML.replace(regex,revised);