First of all you will need this code
<base target='_blank'/>
Follow the following step below
- Go to your blogger dashboard.
- Select your blog then Click Template.
- Backup your template.
- Click on “Edit HTML”
- Press Cntrl+F and Search <head> tag in HTML.
- Add the following piece of code just below the <head> tag.
- Save your Template,
- Check if it work, it work yay.. comment below :D (^.0)
Well you don't need to add Java script for this. Just add <base target='_blank'/> inside
You wana test,, click any link in my blog it work right . Comment below if it help :D