Chrome: AdBlock extension

I’d been thinking about writing a user script to prevent loading of particular network resources. The problem is that particular URLs are blocked — I’m guessing by this thing called Niometrics.

All this social network integration Javascript ruins the user experience, because script load prevents the (critical page) content from being displayed until the request times out (what, like 60s later?). I guess introducing such a long delay is one way to reduce network traffic, but that’s what I wanted to circumvent, hence the thought about a user script. I checked out Greasemonkey and thought about a Firefox plugin, and then I found this wonderful extension called AdBlock which is excellent for my purposes. Basically it prevents resources (i.e. Javascript, CSS) from being loaded

Basically there are readily available filter lists, but I’d like to have full control of what is blocked, hence I have filters of my own. Here it is, if you’re blocked like me:


The good thing is that wildcard (*) is supported, which makes things much less verbose than, say then a custom hosts file, which can grow to a nigh-unmanageable size.

If there’s one thing that I can complain about, it is the absolutely horrid icon. It’s so bad that I’d elect to hide it, preferring to access the options via chrome://chrome/extensions/ instead.

#adblock, #chrome

Winamp: .m3u playlist on Android devices

Recently I created a 71-track playlist in Winamp for Windows, and I thought to (somehow) copy the playlist it to my Android handset instead of having to recreate it on the phone one track at a time (groan).

Winamp has a playlist export feature — Manage Playlist > Export playlist… — that writes a .m3u file to a path of your choice. But I found that Winamp makes the path (to the media files) relative if it is placed in the same directory.

I do just that — all my files are in the same directory C:\Users\wayne.khan-zw\Music — so this works for me. When prompted to save, set the full path to something like C:\Users\wayne.khan-zw\Music\Foo.m3u. The contents of the file should be something like the following:

#EXTINF:157,Zee Avi - Bitter Heart

As you can see, I’m a Zee Avi fan. But I digress.

Now,you can transfer this .m3u file onto your Android device — I saved mine as /mnt/sdcard/Music/Foo.m3u.

On my phone, I use Winamp and adidas miCoach, and both will display (and play!) the exported playlist. Hopefully this works with your favourite music player, too.

#winamp, #windows