ProLavish | Blogger GuruProLavish

A blog provide Blogging Ethics

How To prevent blog to opening in iframe


>
How To Stop Sites From Opening Your Blog we have this facility in our blog also.


Welcome readers in our previous post we shared with you How To Add Syntax Highlighter to Blogger.Many users told that they are facing a problem .OK..Now moveon to our next post that is about How To prevent blog to opening in iframe.
We usually see that google doesnot  allow to open in iframe.Now we have this facility in our blog also.

How To prevent blog to opening in iframe
How To prevent blog to opening in iframe

Steps to prevent blog


Step: 1 Go to Blogger Dashboard  .
Step 2  Then Click on  Design  and then  ahead to EditHTML

Step 3.  Click on "expand widget templates"




Step: 4   Find the code </head> using( ctrl+F.)

Step: 4  Paste the below code just before </head>


  
  
<script type='text/javascript'>

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

</script>

    

Have Questions?

If you need help with respect to any concept do post your comment below..We are happy to help you  

Gaurav dudeja

Gaurav Dudeja has 3 years of blogger experience.He wasthe only owner of prolavish .He does internet blogging and sharingblogging ethics,widgets,quality tips based on blogging.Having More than 50 followersand 250 people subscribed his blog Join me . Prolavish receives 1 thousand Pageviews/month and has over 32K subscribers

You can find us on

Read Comment Policy ▼
  We have Zero Tolerance to Spam. Chessy Comments & Links' will be deleted immediately

Comments are moderated and may take some time to appear.
If you ask a question make sure you tick the Notify Me option

No comments:     Post Yours!