I won't really be updating this but because so many links still forward here i'll keep this one online. Please check out my new project site that will show my latest updated doings and tutorials.

http://www.e3po.info/main/

Thanks,
E3pO.

Programing

Javascript Bookmark (For All Browsers) Chrome, FF, Opera, IE…

I’ve been working on a project and needed a good way for people to bookmark the page. I looked around on Google and couldn’t find any good working code that worked for every browser. Google Chrome doesn’t support adding bookmarks from JavaScript and so do a few other browsers. I ended up writing my own bookmark function and it works nicely for most browsers.

To begin, place an image or link on your website and set the onmousedown event to BookMark();

Image: <img src="bookmark.png" alt="bookmark" onmousedown="BookMark()" />
Text: <a onmousedown="BookMark()">Bookmark This Page</a>


<script type="text/javascript">
function BookMark() {
/*Coded by E3pO www.wmclan.net*/
title = document.title;
url = document.location.href;
alerttext = 'Press Control + D to bookmark';
worked = false;
alerted = false;
try{
window.sidebar.addPanel(title, url,"");
worked = true;
}catch(err){if(!worked && !alerted){alert(alerttext);alerted=true;}}
try{
window.external.AddFavorite(url, title);
worked = true;
}catch(err){if(!worked && !alerted){alert(alerttext);alerted=true;}}
try{
window.external.AddFavorite(title, url,"");
worked = true;
}catch(err){if(!worked && !alerted){alert(alerttext);alerted=true;}}

if(!worked && !alerted){
alert(alerttext);
}
}
</script>

It’s as simple as that!

Wednesday, November 24th, 2010Programing, Tutorials1 Comment

How to make a Spam Bot

I never expected this video tutorial to be so popular… 17,000 views later I finally decide to check back on some of my videos. I was amazed at how some of the most basic possible programs can be such a hit. It’s really quite a simple concept to make a spam bot, and can actually be used for good things such as bringing the focus of another application from your application and auto filling in forms.

To being, obviously start a new project in whatever language you want to program it in, for this tutorial I will be using Visual Basic.

AppActivate("appname")
SendKeys.Send("Text")
SendKeys.Send((chr(13))
Thursday, June 3rd, 2010Programing, TutorialsNo Comments
    Please donate to help server cost and purchase new games to create great public hacks for!
    Donate for +rep