| Thejesh GN | A Blog, A Website and A container for all my views with excerpts from technology, life, travel, films, india, photography, kannada, friends and other interests. I am Thejesh GN and my friends call me Thej..more. |
![]() |
|
Digg recently introduced url shortener. This is not your standard url shortener where the shortener does a 302 forward. Digg shortener displays destination site in a frame. Which means the reader still stays on the Digg. <script type="text/javascript"> if (top !== self) top.location.href = self.location.href; </script> This code in fact doesn’t allow anybody to display your content in their frame. Here is the demo url http://digg.com/u1BSW to check. It should work on all browsers.
4 Comments posted on "How to kill that Digg Bar Frame"
No Frames - remove 3rd party browser frames from your WordPress blog - The Red Ferret Journal on April 6th, 2009 at 2:45 PM #
[...] a bit fed up with companies like Facebook and Digg hijacking your posts inside their marketing frames? Well take a look at No Frames, a handy little WordPress plugin which removes these frames so you [...] Really useful! hey! the idea is good and the script works well! is there anyway that we could escape only the diggbar not the page?
Pradeep CD on April 14th, 2009 at 5:18 PM #
Useful post… thanks Post a comment
|
|
||||||