Web Programming category archive

Solution to The Spanner’s “A bit of fun” challenge

October 25th, 2007 | How To, Javascript, Web Programming | 2 comments

A while back, The Spanner’s very own Gareth Heyes posted a decent challenge. As I stated in a previous posting I took on the challenge. It didn’t take as long as I thought it would, but it was still challenging. I’ve waited a while before posting the actual code I used; that way people can [...]

Replace Picasa with Flickr

October 23rd, 2007 | Google, Greasemonkey, Javascript, Web Programming | No comments

Okay, maybe the title is a little misleading, but that’s what I wanted to do. I love Google for mostly everything, but one thing Yahoo did right was to snatch up Flickr. Flickr has so much more to offer that Picasa doesn’t. One side note though; Flickr doesn’t have a desktop photo organizer, but that’s [...]

Javascript: Octal to ASCII

October 10th, 2007 | Javascript, Web Programming | 3 comments

Gareth Heyes posted a fun little challenge and I couldn’t help but attack it. It took me longer than I thought. Not to be a spoiler, but at some point you have to convert octals to ASCII values. Now, I have done decimal to ASCII, binary to ASCII, and even hex to ASCII, but never [...]

Javascript: ucfirst

October 8th, 2007 | Javascript, Web Programming | 3 comments

In PHP there is ucfirst whose purpose is to uppercase the first letter of the string. While working in Javascript I ran into a problem where I wanted to do this. I searched high and low and couldn’t find a native function that would do this. So, I ended up writing my own.

String.prototype.ucfirst = [...]

Automatically Block Facebook Applications

September 19th, 2007 | Greasemonkey, Javascript, Web Programming | 37 comments

While working on the next version of my Facebook Profile Cleaner, I noticed something that I was doing. Every time I would log into Facebook, I would have 3-5 new application invites. Personally, I don’t care too much about them (if you didn’t know already). I set out to see if I could come up [...]

Facebook Profile Cleaner

August 27th, 2007 | Greasemonkey, Javascript, Web Programming | 29 comments

I use Facebook the way you should; for keeping track of my friends, their information, planning events, discussing things, etc. I don’t believe that Facebook should be another MySpace (a popularity contest).
That being aside, I didn’t enjoy the fact that Facebook now allows “apps” (applications/widgets) to be added to profiles. Sure, some applications are useful, [...]

Cols and Colgroups

August 16th, 2007 | Web Programming | 1 comment

Who loves working with tables in HTML or XHTML? <sarcasm> I know I do! </sarcasm> Recently I’ve been working with trying to get a column in a table to format correctly. It’s something very simple; I have 3 columns and X rows. I want the first column to be aligned left while the other columns [...]