Through an iframe command we are able to display the belongings in other websites inside our own website or blog. This of course can be beneficial for people that put an iframe, but instead for site owners who installed the iframe hurts because doing so does not get your variety of visits which enable it to take bandwidth on websites (if hosting his very own).
How to avoid that other folks are unable to put an iframe for our blog? A fun way, through installing a simple script, you'll be able to avoid the theft of iframe code.
An easy way, by just installing an easy script, it is possible to stay away from the theft of the iframe code.
Points you should do is to put in the next script as part of your template <head> section.
<script type="text/javascript"> <!-- Hide Script if (top.location != self.location) top.location = self.location //End Hide Script--> </script>
or perhaps you may also make use of the following script:
<script type="text/javascript"> <!-- if (parent.frames.length > 0) parent.location.href = location.href; --> </script>
For users of WordPress, the themes will often have information called header.php, open the file to check out the code </head>, then copy and paste the script that's right above the code </head>. However, if you would like practical, your could employ an opportunity away from frames plugin.
Furthermore, anti iframe script and then to steer clear of the installation of an iframe by google image or digg, so it may get a quantity of requests for additional. An example of any website that implements the above mentioned code is http://fliptextgenerator.com. To prove the script above is useful, please put your iframe code below within the sidebar of the blog.
<iframe align="left" frameborder="0" src="http://fliptextgenerator.com" width="200" height="200" scrolling="no"> </iframe>
After the script above is installed, then please open your site page and see the effects.
0 Comment:
Post a Comment
Please don't put life link on you'r comment or name.
Thanks by Indoneisa Blog World | Internet and SEO Blog