r3dux.org

A number-pimping side project from the valleys in *NEW* upside-down flavour.
  • rss
  • Home
  • About
  • Email

How To: Stop DiggBar From Stealing Your Content

r3dux | April 6, 2009

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.

No related posts.

Categories
How-To
Tags
Digg, DiggBar, Stealing, Sucks

Comments rss
Comments rss
Trackback
Trackback
Print This Post Print This Post

« Ripening Rainbow Peppers Hot, Cross »

Leave a Reply

Click here to cancel reply.

Translate

Categories

Archives

  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009

Post Calendar

April 2009
M T W T F S S
« Mar   May »
 12345
6789101112
13141516171819
20212223242526
27282930  

Tags

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

Linkage

  • 9GAG
  • A Day in the Life of Jim
  • Truxnor.net

Gamercard

Prepare for Awesome

Misc.

Creative Commons License

stopsoftwarepatents.eu petition banner

“Each dose contains 200 micrograms.”

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