Bensmeets.com

Rich Internet, Interaction design and User Experience

Archive for December, 2004

Spam? Arm yourselves…

Monday
Dec 20,2004

Time to fight back those pesky little spammers. The solution given is as simple as it is effective. No high-tec thingies, just plain old javascript. For those unable to use other anti-spam measures, this might be of assistence.

The idee of this tool is to hide your mt-comments.cgi script for spam-bots. A good m8 of mine, ronald donated some of his pressious time and fabricated a nice and small javascript file which will hide your comment form for the simpler bots.

It might be a matter of time before spammers are smart enough to find a way around this, but the funny part is… it’s easily changed in to something less generic. The more people tweak the script, the less change the spammers will be able to keep up with all the changes.

When using this tool, you will be removing your comment form from your pages, and replace it with a javascript function call. (much the same as a flash form solution) The javascript will print out the form for you. The smarter side of this is, that you can change the name of your mt-comments.cgi to something less obvious, and the only way the spammers will find out is by desiphering your js file. Which probably will be too much effort for them. I tried the script since friday and haven’t received a single spam comment since then. The time I freed now by not needing to delete the spams, is being spend on looking at my log files and counting how many bots are desperatly seeking the wrong comments.cgi file….. ohhhhwww the joy :)

The js needed to use the tool is located here.

Since I’m too busy scanning my log files and having a good laugh about them, I don’t have the time to make it a ‘one click and run’ thingie. So try for yourself how far you can get and if you have any questions feel free to ask them in the forum . I’m sure ronald can be found their too if any questions arise.

Ahhh, this made my day :) But remember though, there are probably better solutions on the web available like MT-blacklist etc. I just couldn’t get those running and came to this after getting fed up with spam.

Use as/if/when pleased…

  • Filed under: RIA
Thursday
Dec 2,2004

A source download for people who need a place to start, any place, as we probably all did at one point.

When i first started building the more complicated applications with flash, i felt the need for a good example on how to start. I thought that if someone could show me his way of tackling the problems, i might just be able to find my own way to do the same things. Ways that i could understand and suited me in my everyday work.

After a lot of browsing, reading, asking questions to the guru’s etc. I finally came to something that worked…..well it worked for me in any case.

I refer to it myself as a ‘framework’ which i use over and over again, as a starting point for my projects. This helps me getting up to speed when my vision over the final result is still completely blank.

So in the hope this will help someone save some time browsing, reading, etc. I’ll put the framework online for anyone to see. Remember though, this is not ready to release quality stuff. It needs some major refactoring and is build with “if it works….don’t touch it anymore” in mind. It’ll still cost you some time and effort and might not even suit your needs at all. In that case, you’ll at least have something to look at on a rainy day :)

What it is:
- A set of flashzone classes i use for my projects
- A set of external classes which are used or can be used

What it can do:
- The framework will make preloading of multiple swfs a breeze (tx to qlod)
- Included is a standard preloader, but can be altered to your needs.
- It has standard support for Runtime configuring your flash app
- It has a more informative way of using the trace command by providing a LogManager

It has some other funky stuff built inside, but let’s keep that part of the surprise.

What it is not:
- A complete suite, which is usable for any project and does not need any modification
- The best (sometimes plain bad) written lines of code
- suitable for AS1 fanboys.

The classes within, are not the newest versions, but new enough. If i have the time i’ll post progress and my own findings of made mistakes.

Long story short, download it here and talk about the trashy code in the new setup forums :)