Rabu, 31 Agustus 2016

Tutorial How to Delete Iframe on a Blog

Deadtheme.com - Tutorial How to Delete Iframe on a Blog

Tutorial How to Delete IFrame on a Blog - What is the use of Anti IFrame Script?

Anti IFrame Script is useful to break the Iframe itself. This is the simple analogy, I have an indexed image by Google, when people want to see that image, usually Google Image will show that search result on foreground and the site on the background. In other words, Normally we won't directly go to the site.

But If you already put this Anti IFrame Script in your template blog, the Image that you click will automatically give redirect script to your Blog URL. Automatically we get surplus traffic from Google Image Search.

Now this is the method to implemented the script and it is so easy. Just Copy and Paste this Code Above  </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 tag conditional, Anti IFrame Script above will work only on your blog post. Therefore, Newest Dashboard Blogger won't affect error, because Dashboard Blogger only show index or homepage.

Related Posts

Tutorial How to Delete Iframe on a Blog
4/ 5
Oleh

Subscribe via email

Like the post above? Please subscribe to the latest posts directly via email.

Diberdayakan oleh Blogger.