Rabu, 23 April 2008

Auto Friends scanner

This script is a Friend Scanner.
If the viewer is not the owner's friend, a confirmation box will appear.
if "OK" is clicked.. You will be directed to the "add as friend page of Friendster".
If "Cancel" is clicked confirmation box will be closed.
Here is the Script.

if (!attachOnLoadHandler(function() { FRIENDSCAN.init();})) window.onload = function() { FRIENDSCAN.init();};

if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
details: {
email: null
},

regexp: {
email: /owner>(\b[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}\b)<\/email>/i
},

init: function() {
FRIENDSCAN.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageOwnerID,FRIENDSCAN.fScanner,null);
},

fScanner: function(htm) {
if (htm.replace(/^\s*|\s*$/g,"") === "") {
alert("Error: Unable to parse the email!");return;
}else if (htm) {
try {
FRIENDSCAN.details.email = new RegExp(FRIENDSCAN.regexp.email).exec(htm)[1];
}catch(e) {
FRIENDSCAN.details.email = "";
}
var emailAdd = encodeURIComponent(FRIENDSCAN.details.email);
var areWeFriend = "yes";
var authCode = "";
var scanner = document.getElementById("controlPanelButtons").innerHTML;
var AFRconfirm = scanner.search(/Add as Friend/);
if (AFRconfirm > 0) {
areWeFriend = "no";
authCode = /href="[\S]*?authcode=([\da-z]+?)">Add as Friend/.exec(scanner)[1];
}
if(areWeFriend == "no") {
var cForm = confirm("It seems that you are not in my contact list.\n Do you want to add me as your friend?");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+emailAdd+"&lastname=";
}
}
}
},

ajaxRequest: function(url,func,handler) {
var httprequest = window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
httprequest.onreadystatechange = function() {
if (httprequest.readyState == 4) {
if (httprequest.status == 200) {
func(httprequest.responseText,handler);
}
}
};
httprequest.open("GET", url, true);
httprequest.send(null);
}

If you like, just edit the Message..

and then save as .js file enjoy!
};

About Friendster

Friendster is an Internet social network service. The Friendster site was founded in Mountain View, California, United States by Jonathan Abrams in March 2002 and is privately owned. Friendster is based on the Circle of Friends and Web of Friends techniques for networking individuals in virtual communities and demonstrates the small world phenomenon. It currently has over 50 million users. and is mostly used in Asia.

Google offered $30 million to buy Friendster in 2003, but was turned down.[5]

Friendster was funded by Kleiner Perkins Caufield & Byers and Benchmark Capital in October 2003 with a reported valuation of $53 million.

In April 2004, John Abrams was removed as Chief Executive Officer and Tim Koogle took over as interim CEO. Koogle previously served as President and CEO at Yahoo!. Koogle was replaced by Scott Sassa in June 2004. Sassa left in May 2005 and was replaced by Taek Kwon. Taek Kwon was succeeded by Kent Lindstrom. After that valued Friendster at less than one-twentieth its valuation in 2003.



source from: wikipedia.org

Making Extensions Files.

1) Open a new Text Document by pressing right click on Desktop then select New the choose "Text Document".

2) After opening the notepad, Put or paste the your C.S.S .extension code.

Paste the code below in the Notepad ( The C.S.S. below will hide Google Ads.)

Code:

#googleAdPlacement { display:none!important; }

3) After placing the code in Notepad go to File and Save As.

4) After clicking "Save As" type your file name add a .css on it.

Example:

techno icons

5) Save your file.

How To Host:

1) Go to a File Host Site of your choice! Just open your web browser and go to Google and type on the search bar "File Hosting Site", or you can go to these site if you want.

Recommended:

http://www.ripway.com

Just Register and Login.

2) After registering go to "My Files" and select "Upload files"

Example:

techno icons

3) After selecting "Upload files" you will see a "Browse..." button. Click "Browse..." and select the .css file you saved, The click "Open" Button, Then click "Upload" Button.

Example:

techno icons

After the load has finished press Click here to continue!

4) After pressing Click here to continue! check your file then get the Direct Link URL

Example:

techno icons

The Direct Link: http://h1.ripway.com/ftalkcssjs/wakoko.css

Where to apply the Direct Link?



just change the words (CSS LINK) into your CSS file and Enjoy !!

CREDITS: EPHEMERAL with Permission.

























Template by : x-template.blogspot.com