r3dux.org

A number-pimping side project from the valleys in *NEW* upside-down flavour.

  • Home
  • ABOUT
  • OLD SITE
  • SEARCH
  • FEEDBACK

How To: Stop DiggBar From Stealing Your Content

r3dux | April 6, 2009

Update: Good news, everyone! DiggBar is now dead.

Digg released DiggBar last week, and it’s an odd and unwanted bit of code… What DiggBar does is much like a URL shortener, like TinyURL, and it allows you to look at digg comments on sites and digg or bury content from a little toolbar at the top of the site – and this is all well and good, but what DiggBar is also doing, is stealing your traffic – and for this it can die.

Let me explain: In a normal TinyURL link, TinyURL sets the page forward from its smaller URL as a 301 Permanent Redirect, this means that in search weightings, the 301′d page gets counted as the page source, while the TinyURL link was just a way of getting to that page. Any occurrence of the TinyURL URL that points to a site, gets counted as the site URL, not a TinyURL URL – with me? With DiggBar, digg grabs your content and puts it in a frame with some buttons for digg/bury etc and hides the original content URL as a digg one – to show this, just view the DiggBar version of a site by prefixing digg onto something by going: http://digg.com/some-web-address-here i.e. http://digg.com/r3dux.org

However, you’ll notice that if you try it with r3dux.org, I kill the DiggBar frame – and here’s how you do it:

Somewhere on you site, such as in a header inside the <head> </head> tags (so that it’s loaded on each page), put the following javascript code:

1
2
3
4
5
6
7
8
9
<script type="text/javascript">
<!--
window.onload = function() {
if (top.location != location) {
top.location.href = document.location.href ;
}
}
// -->
</script>

Job done, no more DiggBar ripping off your site hits.

Further reading can be found here: http://www.1918.com/how-digg-is-screwing-you-with-diggbar/

Update: Digg has relented and will be making changes to the effect of: i.) All anonymous users, those not logged into Digg.com, will now be taken directly to the publishers content via a permanent redirect – no toolbar, no frames., and ii.) Registered Digg users that have not opted out will continue to see the DiggBar, but they will only see the bar when logged in, and opting out will be made much easier.. And not a moment too soon…

Update 2: Updated above iFrame killing code on 1st Oct 2009 – works again to kill Diggbar. Grrr. Bad Diggbar. Stay dead.

Comments
No Comments »
Categories
How-To
Tags
Digg, DiggBar, Stealing, Sucks
Comments rss Comments rss
Trackback Trackback

Translate

Categories

Archives

Tags

10.04 360 ActionScript ActionScript 3.0 Adobe Art Ballarat Bash Compiz Compression Controller CS4 CUFDIG302A Effect Fail Film Fire Flash Gaming Hack How-To install Jaunty Josh Joplin Group Linkage Linux Motion mount Music NAS Particle Photoshop Problem PS3 r3dux.org Retro Slides Sound Systems Ubuntu Video VirtualBox Wii Windows XBox

Gamercard

Prepare for Awesome



“Dreams do not vanish, so long as people do not abandon them.”

 - Phantom F. Harlock

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox