|
01 December 2008
When using eventid.net if you're not a subscriber, the MS KB links don't work. This script fixes that.
Save this script with a .user.js extension and chose file, open in Firefox to install it.
// ==UserScript==
// @name EventID.Net
// @include http://www.eventid.net/*
// @include http://eventid.net/*
// ==/UserScript==
var allmskblinks, thismskblink;
allmskblinks = document.evaluate(
'//a[@href="/subscribersonly.asp?feature=marticle"]',
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);
for (var i = 0; i < allmskblinks.snapshotLength; i++) {
thismskblink = allmskblinks.snapshotItem(i);
thismskblink.href = 'http://support.microsoft.com/kb/%27+thismskblink.firstChild.nodeValue';
}



