Plugin openurl_blank

27.06.2016 244

The plugin openurl_blank will add a tiny javascript code to open all external URL's in a new page/tab. That is better for SEO and easier for the administrator.

The javascript code is as follow:

$("a[href^='http']:not([href^=''])")
  .attr({
    target: "_blank"
  })
});