send message to those private profile (please dont use on me, i beg)
the mainbox only show when you view your own profile
just insert inside onload handler
[quote]if(pageOwnerID==pageViewerID){
var quickmess="<div class=\"rc\"><form name=\"message_form\" action=\"/sendmessage.php\" method=\"post\" onsubmit=\"this.onsubmit = new Function('return false');\">"+
"<input type=\"hidden\" name=\"_submitted\" value=\"1\"><input type=\"hidden\" name=\"msg_type\" value=\"\">"+
"<input type=\"hidden\" name=\"form_id\" value=\"\"><input type=\"hidden\" name=\"action\" value=\"reply\"><input type=\"hidden\" name=\"hid\" value=\"792572\"><div class=\"commonbox\"><div class=\"boxcontent\">"+
"<script language=\"JavaScript\">function textCounter(field, countfield, maxlimit) {if (field.value.length > maxlimit) {field.value = field.value.substring(0, maxlimit);} else {countfield.value = maxlimit - field.value.length;}}</script>"+
"<table class=\"formtable\"><tr><td class=\"field\"><label for=\"recepient\">Recepient ID:</label></td><td class=\"value\"><input id=\"recepient\" type=\"text\" name=\"uid\" size=\"50\" maxlength=\"100\"></td></tr>"+
"<tr><td class=\"field\"><label for=\"subjectfield\">Subject:</label></td><td class=\"value\"><input id=\"subjectfield\" type=\"text\" name=\"subject\" size=\"50\" maxlength=\"100\"></td></tr><tr>"+
"<td class=\"field\"><label for=\"messagefield\">Message:</label></td><td class=\"value\"><textarea id=\"messagefield\" name=\"message\" rows=\"20\" cols=\"40\" wrap=\"virtual\" onKeyDown=\"textCounter(document.message_form.message,document.message_form.inputcount,4000);\" onKeyUp=\"textCounter(document.message_form.message,document.message_form.inputcount,4000);\">"+
"</textarea></td></tr><tr><td class=\"field\"></td><td class=\"value\">Characters remaining: <input readonly type=\"text\" name=\"inputcount\" size=\"5\" maxlength=\"4\" value=\"\"></td></tr><tr>"+
"<td class=\"field\"></td><td class=\"value\"><input type=\"checkbox\" name=\"savetosent\" value=\"y\">Save a copy in your Sent folder</td></tr>"+
"</table><a class=\"greenButton\" alt=\"Send\" onmouseover=\"window.status='Send';return true;\" href=\"#\" onclick=\"document.forms['message_form'].submit();\">Send</a> <a class=\"greenButton\" alt=\"Cancel \" onmouseover=\"window.status='Send';return true;\" href=\"#\" onclick=\"javascript:location.href='/friends.php?action=message'\" value=\"Cancel \">Cancel </a>"+
"</div></div><script language=\"JavaScript\">document.message_form.inputcount.value = (4000 - document.message_form.message.value.length);</script></form></div>";
addMainBox("Private Profile Messenger Bypass",quickmess,"quickmess","publiccomments_1_7");
}[/quote]
this function is required
[quote]function addMainBox (head,htm,id,bro_id) {
var ul=document.getElementById("controlpanel_1_1").parentNode;
var bro=document.getElementById(bro_id).parentNode;
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
li.innerHTML= "<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+
"<div class='boxcontent'>"+
htm+
"</div>"+
"</div>"+
"</div>";
ul.parentNode.insertBefore(li,bro);
}[/quote]
preview
[img]http://h1.ripway.com/mumbhaki/21.png[/img]
Last edited by marfillaster (2007-05-28 23:49:12)