mikelietz dot org

mikelietz dot org

 

I'm Mike Lietz, and this is my personal website. From this page you can find a wealth of miscellany, most of which is out of date, unfinished, or completely derelict. That said, the most recent update to my infrequently updated diary/journal/whatever fine whine is below, next to some pictures I've uploaded. Everything else can be found from the tabs above.

 

blocking the DiggBar in Habari

Challenged by RandyWalker and inspired by John Gruber's post about blocking the DiggBar, I whipped up a quick plugin to do just that for Habari.

After all, why should all the other blog engines have all the fun?

But I'm getting ahead of myself. The DiggBar is a new feature that adds lots of great features to pages and sites linked on Digg. And to do so, it shortens the URL (to one starting with http://digg.com/) and loads the target in a frame.

In a frame?! I thought we were done with frames half a decade ago.

There are myriad reasons why this is a bad thing, and not all of them involve Digg stealing revenue, and other sites have covered it better, but in short, it's a bad thing.

So, how can you avoid it framing your Habari site?

DiggBar Blocker

You can download* it here: Current Version.

Unzip that in your /user/plugins/ directory, and activate it in your admin plugins page.

By default, it will provide a brief message ("This site does not support use of the DiggBar.") and a link to the correct page with your URL on it. I also added an option to bypass the nice message, and just reload the target outside of the bar.

If you have questions, comments, suggestions, please leave them below or submit a ticket on the Habari-extras Trac.


* Or view the source here.

TiltViewer requires JavaScript and the latest Flash player. Get Flash here.