<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>worked on it a bit, if anyone wants to take it further, here it is:

&lt;pre&gt;
// ==UserScript==
// @name           Gaia Online Link Rebuilder
// @namespace      #avg
// @description    Fixes links on gaia online
// @include        http://*gaiaonline.com/*
// ==/UserScript==
items=document.evaluate(&amp;quot;//div[contains(@id,'sell_')]&amp;quot;,document,null,6,null);
for(i=0;i&amp;lt;items.snapshotLength;i++) {
	var cur=items.snapshotItem(i);
	link=document.createElement(&amp;quot;a&amp;quot;);
	with(cur) {
	var temp=/'([^']+)/.exec(getAttribute(&amp;quot;onclick&amp;quot;)) || [&amp;quot;null&amp;quot;,&amp;quot;null&amp;quot;];
	link.href=temp[1];
	appendChild(link);
	removeAttribute(&amp;quot;onclick&amp;quot;);
	}
var temp=cur.firstChild.cloneNode(true);
cur.removeChild(cur.firstChild);
cur.firstChild.appendChild(temp);
}
&lt;/pre&gt;

going to do homework now</body>
  <body-html>&lt;p&gt;worked on it a bit, if anyone wants to take it further, here it is:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
// ==UserScript==
// @name           Gaia Online Link Rebuilder
// @namespace      #avg
// @description    Fixes links on gaia online
// @include        http://*gaiaonline.com/*
// ==/UserScript==
items=document.evaluate(&amp;quot;//div[contains(@id,'sell_')]&amp;quot;,document,null,6,null);
for(i=0;i&amp;lt;items.snapshotLength;i++) {
	var cur=items.snapshotItem(i);
	link=document.createElement(&amp;quot;a&amp;quot;);
	with(cur) {
	var temp=/'([^']+)/.exec(getAttribute(&amp;quot;onclick&amp;quot;)) || [&amp;quot;null&amp;quot;,&amp;quot;null&amp;quot;];
	link.href=temp[1];
	appendChild(link);
	removeAttribute(&amp;quot;onclick&amp;quot;);
	}
var temp=cur.firstChild.cloneNode(true);
cur.removeChild(cur.firstChild);
cur.firstChild.appendChild(temp);
}
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;going to do homework now&lt;/p&gt;</body-html>
  <created-at type="datetime">2008-10-27T23:45:44Z</created-at>
  <forumable-id type="integer">2</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">16795</id>
  <topic-id type="integer">9509</topic-id>
  <updated-at type="datetime">2008-10-27T23:45:44Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">61251</user-id>
</post>
