All links on your blog will go to a new tab, this can also reduce the percentage of the bounce rate on your blog, of course because, your visitors do not leave your page but open a new tab automatically if buddy install the script code below.

If you are interested, just the way ...

How to Make All Links Open in New Tab Automatically

How to Make All Links Open in New Tab - fixiw

Method #01

First, friend, first go to Blogger >> Themes >> Edit HTML, copy the code below and paste right above the code. 

</body> or  &lt;/body&gt;

Code:

<script type='text/javascript'>
var arr = document.getElementsByTagName("a"); //Get all the links for the page(var i = 0; i < arr.length; i++)

{
if(arr[i].href.indexOf("http://www.fixiw.com/") < 0 //not a link on this page
&& arr[i].href.indexOf("javascript:") < 0) // link
arr[i].target = "_blank";
}
</script>

Method #02

There are other ways if the above method doesn't work by adding the code below right above the code. 

</head> or  &lt;/head&gt;

Code:

<base target='_blank' />

If you have clicked save on the template, friend,

OK, that's all I can say about  How to Make All Links Open in New Tab Automatically Blogger Thank you for visiting fixiw, hopefully this is useful for all of you.

Post a Comment

أحدث أقدم