/ Published in: jQuery
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 $("a[href*='http://']:not([href*='"+location.hostname+"'])").click( function() { window.open( $(this).attr('href') ); return false; });
Comments
                    Subscribe to comments
                
                