Wednesday, October 7, 2015

How to Open All External Links in New Tab in Blogger

To prevent your blog readers from leaving your blog without reading any or only one post, you must think to open links from your blog in new tab. It also helps in increasing your overall page views and reducing bounce rate. Blog bounce rate is one of the important factors in blogging and is simply defined as number of readers leaving your blog without reading any or only one post. It means more the bounce rate lesser the engagement. When we consider reducing our bounce rate, the first thing our mind suggest is opening the links in new tab and its importance increases when it comes to external links.
This can be done manually for each link you want to open in new tab by by adding target=”_blank” inside hyperlink or in blogger editor when you are putting a link by checking the property Checkbox “Open this link in a new window”  as shown in below snapshot.
But this way may be a tough task if you have a enormous number of links to do this. So here I am giving you a simple jQuery script to open all external links in new tab.

Steps to Open all External Links in New Tab :

  • Go to your blogger dashboard
  • Select your blog >> Template
  • Backup your template before editing
  • Click on “Edit HTML”
  • Find </head> tag in HTML
  • Add the following piece of code just above the </head> tag
  • Save your Template, you are all done !! 
Note : Please don’t add the red code if you already have jQuery library source code installed on your blog.
 <script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' type='text/javascript'></script> <script type='text/javascript'> $(document).ready(function() { $("a[href^='http://']").each( function(){ if(this.href.indexOf(location.hostname) == -1) { $(this).attr('target', '_blank'); } } ); $("a[href^='https://']").each( function(){ if(this.href.indexOf(location.hostname) == -1) { $(this).attr('target', '_blank'); } } ); }); </script>

Affected Links By Above jQuery Script:

Above jQuery script will check all hyperlinks inside your blog pages and will add the target=”_blank”  attribute to links which are external. It wont  put any effect to internal links of the blog. The script will only detect external hostnames and the moment it finds one, it will insert into the html a target attribute that tells the browser to open the link in a new window.

How to add Auto CopyRigth date in Website/Blog

Most web site owners forget to update their copyright date. And it’s easy to understand why. For most sites, the footer, where the copyright date usually sits, is below the fold and in small type anyways. But for site visitors, it can communicate the freshness of a website’s content. So it doesn’t hurt to make sure this information is updated.
                                                                  
You could do it manually, or like I did around the turn of the century, by using a “Find and Replace” feature of some web authoring tool. An even better way is to present the date dynamically, and yes, even if you’re not using a server side technology like PHP or ASP.

Below are code snippets in various languages to present the current year on a web page. Note that I’m using the &copy; character attribute for displaying the copyright symbol (and so should you).

Javascript

This code can be used on any web page, including static HTML pages.
<script type="text/javascript">
var theDate=new Date()
document.write(theDate.getFullYear())
</script>

PHP

&copy;<?php echo date(Y);?>
or
&copy;<? echo date(Y);?>

ASP

&copy;<%=year(date)%>

Coldfusion

<cfoutput>&copy; #Year(Now())#</cfoutput>

Server

Side

Includes

(SSI)

<!--#config timefmt="%Y" -->
<!--#echo var="date_LOCAL" -->

How to Direct Download Torrent Files with IDM

So you want to download a torrent files and that with your web browser or IDM (Internet Download Manager) rather than using torrent clients like BitTorrent. If you're looking for the tricks and ways to download torrents than you're at the right place. In this tutorial I will help you and provide you some spicy tweaks and tricks.



Yeah! You can download any movie or applications from torrent from your browsers' download manager (and not using any BitTorrent client). If you want to download with your web browser than I will advice you to get Internet Download Manager (IDM) as it is fast and supports resume functions. Take a look at the functions of IDM listed below.
  • With the help of IDM, you can download files many times faster as compared to BitTorrent client.
  • Also, if your Internet Service Provider have blocked access to some torrent downloads than you can use and configure proxy with Internet Download Manager.
  • No seeding and leeching problems.
  • You can download and resume torrent files like movies, applications any time you want.
  • To give you best speed, it divides files into various parts.
  • Now you would like to download IDM, if yes, get it from here.
Now you want to know the various methods and tricks to download torrent with your Web Browser or IDM. Here are the tricks.
ZbigZ
It is very easy to download torrent from this site. No need to register to download files. Follow the following steps to start downloading torrents.
  • First of all go to its home page from here. After that you'll see the following page.
Direct Download Torrent Files with IDM
  • Paste the torrent file link or magnet link in the specified link area and press go button.
  • After pressing the go button you'll see the following screen. Just click on Free.
Direct Download Torrent Files with IDM
  • After that you'll be redirected to the following page.
Direct Download Torrent Files with Web Browser Download Manager
  • Click on Download button to start downloading the file. You're file will be downloaded in minutes depending on your Internet Speed.
It is not the only site which allows to download torrents. Take a look at some more site list given below.

Filestream - Another site to download torrents with web browser or IDM
I really like this site. It is fast and easy to use service like the above shown one. But to use its service you will need to signup with filestream.me.
  • Go to this link and signup for a free account.
  • Paste the Magnet Link to the torrent in the given link area or upload your torrent file.
Direct Download Torrent Files with IDM or Web Browser
  • Click Download button. After that your torrent will be added in files.
Direct Download Torrent Files with IDM
  • Click on Download as ZIP and follow the instructions.
I will share you with one more site which allows to download any torrent files directly from IDM or web browser rather than using BitTorrent client.
Torrent2exe
  • It is a simple site. Just go to this link and add the torrent URL in the given link field.
  • See the image below to know more.
Direct Download Torrent Files with IDM
That's All! These were the three free sites which allows to download any torrent files for free. You may need to register for some sites to download. Just try it!