Revision: 23917
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 16, 2010 15:56 by vagrantradio
Initial Code
$("a[href^=http://]").not("a[href^=http://www.yourdomain]").attr("target", "blank"); $("a[href^=http://]").not("a[href^=http://www.yourdomain]").attr("rel", "external");
Initial URL
Initial Description
Add target blank or rel external to outgoing links automatically.
Initial Title
ADD TARGET BLANK TO ALL EXTERNAL LINKS
Initial Tags
jquery, links
Initial Language
jQuery