If you aren’t too happy with Digg adding a frame to your web pages, here’s a simple Javascript that you may add to your page HTML and it will prevent digg from adding a frame (aka DiggBar) to your web pages.
Just put this code anywhere inside the <head> tag – no PHP or server side coding required.
1: <script type="text/javascript"> 2: if (top !== self && 3: document.referrer.match(/digg\.com\/\w{1,8}/)) 4: top.location.replace(self.location.href); 5: </script>
Credit: Faruk Ate
If you are visiting Digg, here are step-by-step instructions on how to disable the Diggbar.
Find this article at: http://www.labnol.org/clips/remove-digg-frame-from-website/8187/
Tags: digg, Web Clips and Notes
