Automatic Versioning Of JS And CSS Files In WordPress

July 30th, 2012

If you’re a WordPress developer, this will probably sound familiar: you make a change to  one of your scripts or style sheets, reload the page you’re working on to see the result, and… everything stays the same. Of course, after a moment of confusion, you realise that you didn’t update the $version argument in your […]

Continue Reading...

Celtic Knot Generator – A HTML5 Canvas Experiment

May 17th, 2012

I wanted to familiarize myself with the much-touted canvas element, so I used it to build an interactive celtic knot generator/editor. Give it a try. Launch the celtic knot generator. Note: Requires a fairly modern browser. Instructions When you first load up the knot generator, you will see a 10×10 grid filled with the default […]

Continue Reading...

Where Did That JS/CSS Come From?

December 14th, 2010

If you run a WordPress site, chances are that you use plugins. If you use plugins, chances are that some of those plugins add their JavaScript or CSS files to your pages. And if there’s lots of JS/CSS on your pages, chances are that your site isn’t as fast as it could be, and that […]

Continue Reading...

Browser Performance Comparison (Updated)

November 3rd, 2010

Most web browsers have gotten an update or two in the 6 months since I posted my previous browser comparison. So lets see how they stack up now, shall we? Click the image for full-size view: Benchmarks Used Kraken JavaScript Benchmark Peacekeeper JavaScript Benchmark (view results) SlickSpeed Selectors Test Acid3 Web Standards Test HTML5 Test […]

Continue Reading...

Bookmarklet Combiner

June 2nd, 2010

I love bookmarklets. Over time, I have accumulated a sizable collection of bookmarklets ranging from development tools (yay for ReCSS!) to great little utilities like Readability. Chances are that some of you have, too. I also like to keep my browser window trim and slim, and a crowded bookmark bar is definitely not conducive to […]

Continue Reading...

Showing Different Ads To Different Visitors

March 9th, 2010

Just today, I decided to run an impromptu experiment to test if visitors who come from search engines are really more likely to click on ads. It’s considered  “common knowledge” by many bloggers who advise everyone to only show ads to search engine visitors (as a quick Google search will illustrate), but my own AdSense […]

Continue Reading...

12 Invisible But Invaluable jQuery Plugins

March 5th, 2010

Not all jQuery plugins are about UI and eye-candy. There’s also a class of plugins that aim to make web development itself easier, either by acting as convenient wrappers around hard-to-use JavaScript functionality, simplifying cross-browser compatibility, or providing small but useful utilities and APIs. Below you’ll find a list of 12 great utility-style jQuery plugins. […]

Continue Reading...

Add Fuzzy Timestamps To Your Blog

March 2nd, 2010

I recently stumbled upon a great jQuery plugin called “timeago” that lets you easily create fuzzy timestamps (e.g. “5 minutes ago”, “about 2 months ago”, etc). So I wrote a quickie WP plugin that you can use to add this neat feature to your blog. About Basically, with this plugin you can insert a little […]

Continue Reading...

Auto-Highlight New Items With The Newslight UserScript

October 12th, 2009

Newslight is a Greasemonkey script that you can use to automatically highlight new posts, new blog comments, recent product listings or any other kind of new content that has been added to your favourite website(s) since you last visited. The way it works is simple : when you see a web page you’d like to […]

Continue Reading...

How To Speed Up Your JavaScript (Video)

August 10th, 2009

JavaScript has become an integral part of the modern Web. Some would praise it as the miracle stuff that ties together diverse web technologies and creates more responsive user interfaces, the stuff that makes glorious mashups and truly interactive web apps possible. Some would rather liken it to a sticky sludge that attaches itself to […]

Continue Reading...

AutoPagerize For Opera

July 23rd, 2009

AutoPagerize for Opera is a userscript that will automatically load the next page of a website inline when you reach the end of a page. This makes browsing paged search results or multi-page articles much more seamless as you don’t need to click “Next” all the time. The full version of the script supports hundreds […]

Continue Reading...

Anti-Privacy 1.0 (Beta)

February 7th, 2009

Imagine you are a systems administrator at a major ISP. The company’s servers log every page your clients visit, and due to your position you have full and unrestricted access to those logs. This comes in handy when troubleshooting network problems, but nobody would find out if you browsed somebody’s web history for other reasons […]

Continue Reading...

Does Adblock Matter For Your Site?

January 26th, 2009

There’s been some controversy about the ethics of using Adblock. Webmasters want advertising income, users want a better browsing experience. Yadda yadda yadda. I can certainly sympathize with both sides of the debate – on the one hand, I hate intrusive ads as much as anyone. On the other hand, this site is mainly ad-supported. […]

Continue Reading...

Cross-Domain POST With JavaScript

November 20th, 2008

Normally you can’t send cross-domain requests in JavaScript due to restrictions imposed by the same-origin security policy. There are many clever hacks that circumvent this by using remote script includes (even CSS includes) or proxy scripts, but so far I haven’t seen anything useful for client-side, cross-domain POST requests. However, it turns out you can […]

Continue Reading...

Displaying Recent Posts On a Non-WordPress Page

November 15th, 2008

Listing recent posts on a WordPress page is easy – there are various widgets and theme functions available just for that purpose. But what about a non-WP page, or even a different site? That’s not that hard either – simply grab some posts from the blog’s RSS feed and output them on your page. In […]

Continue Reading...

JavaScript Splitters And Resizable Panels

October 23rd, 2008

In this post I’ll review* several splitter components for JavaScript. A splitter is usually a vertical or horizontal bar that you can drag to change the size of the surrounding elements. Most splitter scripts also depend on, or are part of a JS framework, which may be an important consideration if you’re already using some […]

Continue Reading...

SEO For Opera

September 5th, 2008

During the last week I have ported (more or less) the famous SEO for Firefox addon to Opera. Now die-hard Opera fans can also enjoy it’s excellent market research capabilities and enhanced Google/Yahoo! search results 🙂 In case you’re not familiar with this outstanding SEO tool check out the “Features” section below. Download & Installation […]

Continue Reading...

Google Chrome vs Opera – JS Speed Test

September 3rd, 2008

With the recent release of the Google’s Chrome browser lots of sites have jumped on it and started churning out reviews. However, most reviews focus on Chrome vs Firefox – for example, I have already seen no less than three articles discussing whether Chrome’s brand new JavaScript engine is really faster than the one used […]

Continue Reading...

Programmer Rap

July 21st, 2008

Here’s something funny I found today : pic div fade in slow shadow current menu show find content replace all span div append to table row Shamelessly stolen from this Russian site. Okay, so it’s not syntactically correct 😛 I’m sure you can still reconstruct the original JavaScript if need be.

Continue Reading...

How To Highlight Nofollow With Opera & More SEO Tools

January 9th, 2008

A review of a free Opera plugin that can highlight nofollow links, display Alexa rank and PageRank, show the number of backlinks that a page or a domain has, and more. Basically it is a full-featured SEO toolbar for the Opera web browser.

Continue Reading...

Search The Current Site – A Firefox Extension

December 1st, 2007

There are lots of search engine plugins for Firefox, and it’s easy to make a simple search plugin for your own site. That’s why it came as a bit of a surprise that I couldn’t find any search engine plugins for searching the currently open site. So I created one. Download it here.

Continue Reading...