Post by Bradley (CCWorld) on Dec 27, 2005 21:46:30 GMT -5
To make it easier for you. I'll try to keep this to one page. That way you can enter part of a line of the code into your browsers search feature ([ctrl] + F) and search the page.
CrossFury Admin Panel v1.0
Google talk in profile
Proboards shop v0.5
Harry Potter - Put members into houses (all versions)
Money Hack
Version 1
Version 2
Version 3
<script>
//Xfire Icon v1.0 [CB]
//Copyright 11-20-2005 ~Wonder
//May be reposted anywhere as long as this header remains in tact
//Enter URL of the image you want to appear as Xfire icon
xfireIcon="http://img505.imageshack.us/img505/6027/xfire0fe.gif";
if(location.href.match(/action=(display|goto|viewprofile|pmview|recent)/))
{
var td=document.getElementsByTagName("td");
for(i=0;i<td.length;i++)
{
if(td.width=="20%" && td.className.match(/windowbg/) && td.innerHTML.match(/\[x\=(\w+)\]/))
{
xid=RegExp.$1;bp=new RegExp("(<br><br>)?\\[x\\="+xid+"\\]","i");
c=td.getElementsByTagName("center");
for(j=0;j<c.length;j++){if(c[j].innerHTML.match(bp)){c[j].innerHTML+="<a href=\"xfire:add_friend?user="+xid+"\"><img src=\""+xfireIcon+"\" border=0 alt=\"[xfire]\"></a>";}}
td.innerHTML=td.innerHTML.replace(bp,"");
}
}
}
if(location.href.match(/action\=modifyprofile/))
{tab=document.modifyForm.aim.parentNode.parentNode.parentNode.parentNode.parentNode;
document.modifyForm.personaltext.value.match(/\[x\=(\w+)\]/)==null?xid="":xid=RegExp.$1;p=document.modifyForm.personaltext;p.onblur=bb;p.onfocus=br;
temprow=tab.insertRow(-1);temp=temprow.insertCell(0);temp.innerHTML="<font size=\"-1\">Xfire:</font>";temp.width=160;temp.vAlign="top";temp=temprow.insertCell(1);
temp.innerHTML="<font size=\"-1\"><input name=\"xid\" size=35 maxlength=\"25\" value=\""+xid+"\"></font>";
temp.width=245;temp.valign="top";document.modifyForm.xid.onkeyup=bb;temp=temprow.insertCell(2);
temp.innerHTML="<font size=\"-2\">Enter your Xfire id.</font>";
temp.width=245;temp.valign="top";}
function bb(){xid=document.modifyForm.xid.value.replace(/ |\W/,"");(xid.length>0)?p.value=p.value.replace(/\[x\=\w+\]/,"")+"[x="+xid+"]":br();}
function br(){p.value=p.value.replace(/\[x\=\w+\]/,"");}
</script>
RPG Me V1.0
myPms v1
CrossFury Admin Panel v1.0
Google talk in profile
Proboards shop v0.5
Harry Potter - Put members into houses (all versions)
Money Hack
Version 1
Version 2
Version 3
<script>
//Xfire Icon v1.0 [CB]
//Copyright 11-20-2005 ~Wonder
//May be reposted anywhere as long as this header remains in tact
//Enter URL of the image you want to appear as Xfire icon
xfireIcon="http://img505.imageshack.us/img505/6027/xfire0fe.gif";
if(location.href.match(/action=(display|goto|viewprofile|pmview|recent)/))
{
var td=document.getElementsByTagName("td");
for(i=0;i<td.length;i++)
{
if(td.width=="20%" && td.className.match(/windowbg/) && td.innerHTML.match(/\[x\=(\w+)\]/))
{
xid=RegExp.$1;bp=new RegExp("(<br><br>)?\\[x\\="+xid+"\\]","i");
c=td.getElementsByTagName("center");
for(j=0;j<c.length;j++){if(c[j].innerHTML.match(bp)){c[j].innerHTML+="<a href=\"xfire:add_friend?user="+xid+"\"><img src=\""+xfireIcon+"\" border=0 alt=\"[xfire]\"></a>";}}
td.innerHTML=td.innerHTML.replace(bp,"");
}
}
}
if(location.href.match(/action\=modifyprofile/))
{tab=document.modifyForm.aim.parentNode.parentNode.parentNode.parentNode.parentNode;
document.modifyForm.personaltext.value.match(/\[x\=(\w+)\]/)==null?xid="":xid=RegExp.$1;p=document.modifyForm.personaltext;p.onblur=bb;p.onfocus=br;
temprow=tab.insertRow(-1);temp=temprow.insertCell(0);temp.innerHTML="<font size=\"-1\">Xfire:</font>";temp.width=160;temp.vAlign="top";temp=temprow.insertCell(1);
temp.innerHTML="<font size=\"-1\"><input name=\"xid\" size=35 maxlength=\"25\" value=\""+xid+"\"></font>";
temp.width=245;temp.valign="top";document.modifyForm.xid.onkeyup=bb;temp=temprow.insertCell(2);
temp.innerHTML="<font size=\"-2\">Enter your Xfire id.</font>";
temp.width=245;temp.valign="top";}
function bb(){xid=document.modifyForm.xid.value.replace(/ |\W/,"");(xid.length>0)?p.value=p.value.replace(/\[x\=\w+\]/,"")+"[x="+xid+"]":br();}
function br(){p.value=p.value.replace(/\[x\=\w+\]/,"");}
</script>
RPG Me V1.0
myPms v1