Created
February 4, 2015 08:28
-
-
Save beshkenadze/548389e6f2d7378b076b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("a[href*='http://']:not([href*='"+location.hostname+"']),[href*='https://']:not([href*='"+location.hostname+"'])") | |
.addClass("external_link") | |
.attr("target", "_blank") | |
.attr("title", "Открыть в новом окне"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment