List of Sites Preventing DiggBar with a Framebuster

As an active Digg user, I’ve been paying attention to the discussion around the new DiggBar and it’s pros and cons (see the bottom of this post for articles of reference). I find that DiggBar makes voting on Digg submissions more convenient, but I certainly understand some of the arguments against it.

Since I’ve been using the DiggBar regularly for the past week or so, when a site is using Framebuster or Frame Killer code to disable it, it sometimes can throw me off (particularly if I closed the browser window with the original Digg submission).

A List of Sites Preventing DiggBar with a Framebuster
Here’s a list of sites I’ve compiled that use framebuster code of some sort. I am sure the list is far from complete so if your site uses this type of code as well, feel free to contact me via comment or Twitter and I’ll add your domain to the list.

Here’s Wikipedia’s entry on how to apply framebuster code to your site:

The typical source code for a framekiller script is:

<script type=”text/javascript”>if (top !== self) top.location.href = self.location.href;</script>

A variation that lets the user know why they are being redirected with the use of a pop-up alert is:

<script type=”text/javascript”>
if (top !== self) {
alert(‘The URL ‘+self.location.href+’ cannot be viewed inside a frame. You will be redirected.’);
top.location.href = self.location.href;

Additional resources regarding Framebuster Code

Various discussions related to DiggBar


3 Responses to “List of Sites Preventing DiggBar with a Framebuster”

  1. Kevin on April 11th, 2009 6:39 pm

    I’m curious as to why you use the DiggBar instead of a browser based social media toolbar, like the Social Media For Firefox add-on, that contains other popular social media sites in addition to Digg.

  2. Derek on April 11th, 2009 7:19 pm

    Hi Kevin – thanks for your comment. I did not mean to indicate I don’t use other toolbars in addition to DiggBar. I do like the Social Media for Firefox add-on very much.

    It is worth pointing out that DiggBar does not supplement other tools for social media and apologies for the confusion if that was inferred.

  3. oggy on May 14th, 2009 3:06 pm

    I did a post a while back on the breakdown of the Diggbar code.

    It details their quantcast tags and what they are trying to accomplish with all these different tracking tools etc. Enjoy!

    Thanks for your list of sites up above. :)