Open all external links on new page

externa
This is a really cool hack which will make all the external links to open in new tab or new window. It is based on JavaScript and is really easy to implement.

Why use it?
  • Prevent typing “target=’_blank’” again and again for external links
  • Lets users to see the outside links while staying on your site.
  • If there are some links which don’t have “target=’_blank’” in there tag, then this script will also open them on new page.
Installation
Find the tag in your blogger template code by using ctrl+F and place the below code above it.
Also replace www.yourblog.blogspot.com and yourblog.blogspot.com with your blog’s address.
Save your template and its done.

No comments:

Post a Comment