How to Delete IFrame on a Blog - Templates Boy

Halaman

    Social Items


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

This anti IFrame script it's useful 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 in the background 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 way to implement it is also 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
        }
</script>
</b:if>

With a little extra conditional tags, the anti iframe script above 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


Source : Share with your friends & your family


How to Delete IFrame on a Blog


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

This anti IFrame script it's useful 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 in the background 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 way to implement it is also 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
        }
</script>
</b:if>

With a little extra conditional tags, the anti iframe script above 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


Source : Share with your friends & your family


Related Post

Disqus Codes
  • To write a bold letter please use or
  • To write a italic letter please use or
  • To write a underline letter please use
  • To write a strikethrought letter please use
  • To write HTML code, please use or
    or

    And use parse tool below to easy get the style.
Show Parser Box

strong em u strike
pre code pre code spoiler
embed

Subscribe Our Newsletter