Javascript category archive

Twitter style text counter in jQuery

October 27th, 2008 | Javascript | No comments

I. Love. jQuery. I can’t say how much I love jQuery because some people might get jealous because jQuery might out-rank them in the scale of 0 to jAWESOME!
Enough drooling and leg humping. In a recent project, we needed a counter to display the number of characters the user had left in a text area. [...]

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, [...]

Presentations coming to Google Docs & Spreadsheets.

June 27th, 2007 | Google, Javascript | 5 comments

Taking a snoop into the new (mentioned everywhere) Google Doc & Spreadsheets javascript, I found an the icon for Presentation. Presentation is basically Keynote on Mac or Powerpoint on Windows.
The Presentation icon might join the already implemented are the Google Document icon and Google Spreadsheet icon .
It seems Google is pushing towards the [...]

What is detroit.app.Application?

June 27th, 2007 | Google, Javascript | 1 comment

Recently Google Docs & Spreadsheets released a new version of their wonderful application. It’s a wonderful new interface and foreshadows what Google Docs is going to turn into.
Like always, I went snooping around to see what I could find. It’s usually fun to see what they didn’t implement yet. Taking a look at the javascript [...]