Follow Me

How to delete IFrame on a blog

How to delete IFrame on a blog
How to Remove IFrame on a Blog - What is the use of this anti IFrame script?

This anti IFrame script is used to break the iframe function itself. A simple analogy like this, I have an image that has been indexed by Google Image, when other people want to see the image or image, usually Google Image will display the image of the search results on the front and the site where the image is in the background. In other words, we will not normally be taken directly to the image site.

Now if you have installed the anti iframe script in your blog template when the image was clicked it will automatically be redirected directly to the URL of your blog. Thus we will also get additional traffic from the image search results on the Google Image.

Okay, just go ahead. The application method is quite easy, copy and paste the code below above the code </head>
<b:if cond='data:blog.pageType == "item"'>
<script type="text/javascript">
if (top.location != self.location) {
top.location = self.location


With a little extra conditional tags, the above iframe script will only work on the blog posting page. therefore, the latest blogger dashboard will not experience errors. Because the blogger dashboard only shows the index page / homepage only.

May be useful
Next Post Previous Post
No Comment
Add Comment
comment url