How to Open All External Links in a New Window/Tabs by using jquery
If you know anything about attribute selectors, that should look familiar to you. Basically, it is saying, apply the attribute target=”_blank” to all links that begin with http. I have written a few lines of jQuery code that will convert all external links (i.e. links that begin with http) to links opening up in a new window by injecting the target=”_blank” behind the screens.
