Search code examples
blogspot

how can i remove the social bookmark plugin using html or javascript


sory guys, click the first link you will see the image i been mark by red, after you click the second link, you will see the arrow.

1) http://s261.beta.photobucket.com/user/minaekoz/media/satu.png.html

2) http://s261.beta.photobucket.com/user/minaekoz/media/satua.png.html

Question :

That is social bookmarking site i use to promote my blog but i want to remove the plugin after somebody click that link in the first image.

how can i remove that plugin in the second image after user click the link at the first image?

*sory if my english so bad


Solution

  • I'm not sure how your page is embedded, I guess it's done using frames or an iframe? This would be important to know, but you'll most likely be able to use some javascript code like this (called in some element's onload event (e.g. <body>):

    if (window.top != window.self)
        window.top.location.replace(window.self.location.href);
    

    I think you can add it through using a custom BlogSpot template or maybe with some of the widgets as well.