There are 2 previous versions of this script.
// ==UserScript==
// @name HP ITRC link fixer
// @namespace 2xa|06466bfef6e7e40e52d572902df6757d
// @description replaces JS links with normal links without JS
// @include http://*itrc.hp.com/*
// @include https://*itrc.hp.com/*
// @version 0.3
// ==/UserScript==
var allLinks = document.evaluate('//a[contains(@href,"javascript:openExternal")]', document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0; i < allLinks.snapshotLength; i++) {
currentLink = allLinks.snapshotItem(i);
var href = currentLink.getAttribute('href');
var linkStart = href.search(/\('/i) + 2;
var linkLength = href.search(/'\)/) - linkStart;
href = href.substr(linkStart,linkLength);
currentLink.setAttribute('href',href);
}