Disable that annoying DiggBar – part 2
Laurent | April 9, 2009 | 4:20 pmYou might have seen my earlier post on how to disable the DiggBar. I just came across a post that explains how the DiggBar works. It really does not play nice. I didn’t realise that all the link credit actually goes to digg.com and not to the site that provides the content!
The fun stops there. Like lin.cr, it does a 200 code. That means the page is actually on Digg itself — they’re making a page with the DiggBar and pulling in your content without permission into a frame. That’s not illegal, but it’s a tactic that died off years ago. It also means that if you use the Digg short URLs, none of the link credit passes to your page. It’s all kept with Digg.
That sucks.
The above quote is from Search Engine Land’s post about link shortening services. They also provide a way to get out of all frames, not just Digg’s. All you need to do is put the following bit of Javascript between the head tags of your pages:
<script type="text/javascript">
<!--
if (top.location!= self.location) {
top.location = self.location.href
}
//-->
</script>
The bar still loads, but then just disappears shortly after.








